Re: Do I need kswapd if I don't have swap?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 24 Nov 2003, David Wuertele wrote:

> James> Your printf's were like this
> James> fprintf (stderr, "%u ", totalmalloc);
> James> So it could fail somewhere between the first and last fprintf.
> 
> Actually I noticed that bug and fixed it right after sending the
> email, the fprintfs now look like this:
> 
>     fprintf (stderr, "M%u\n", totalmalloc);
> 
> since stderr gets flushed after every newline, I know that the program
> is actually hanging in the malloc.

Whats the output from strace on your program ?
this should tell you wether its hanging in a system call
or not at least.

	James

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux