lkml.org 
[lkml]   [2002]   [May]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectVM problem in 2.4.x kernels ??
Hi all,

I have a program which basically reads udp data (large amounts) from a
socket and writes it to a file. Whenever the network input rate increases
it cause the system to hang or my program is killed due to lack of memory.

I have 256MB RAM + 2 GB swap. Just before my system hangs( or my program
is killed), I have about 1 or 2 MB of physical memory and 1600 MB of swap
free. I don't understand why my program should be killed due to lack of
memory when I have so much of free mem.

I tried this with 2.4.10, 2.4.18 and 2.4.19-pre8-ac5.
I use a 100MB socket queue. (rmem_max)

Could anybody tell me why this happens and a possible fix for this.

Please cc your postings to karthik@cs.uh.edu as I don't subscribe to this
list.

Thanks in advance.

Karthik.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.025 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site