Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dec 6 13:20:05 server102 kernel: KERNEL: assertion (flags & MSG_PEEK)

Status
Not open for further replies.

linuxMaestro

Instructor
Jan 12, 2004
183
US
I get this error right before my server crashes:
Dec 6 13:20:05 server102 kernel: KERNEL: assertion (flags & MSG_PEEK)

How do I fix this it is doing it on a daily basis.
 
Sorry, this was the error that cause it to crash:
Badness in __put_task_struct at kernel/fork.c:87
 
There doesn't seem to be a solution there though.

This is the code for the _put_task_struct() function
from kernel source I have on a SuSE box.
Code:
void __put_task_struct(struct task_struct *tsk)
{
	WARN_ON(!(tsk->state & (TASK_DEAD | TASK_ZOMBIE)));
	WARN_ON(atomic_read(&tsk->usage));
	WARN_ON(tsk == current);

	security_task_free(tsk);
	free_uid(tsk->user);
	put_group_info(tsk->group_info);
	free_task(tsk);
}

If the kernel is faulting here I would bet it's a bug
or hardware issue.
Your other post with it's indicators on the addressable memory areas gave more detail. Linux breaks it's memory scheme into 'zones'. Some hardware doesn't play nice with this and since RH(fedora) are going their own way with tweaks this may be a real bug. I would bet that one of
the *free calls here is freeing memory it doesn't own,
or freeing a null pointer due to resource failure
that wasn't caught elsewhere.

Good Luck.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top