httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jd list" <jdli...@gmail.com>
Subject [users@httpd] Fwd: mod_python memory errors
Date Mon, 27 Feb 2006 11:52:37 GMT
I have received a bunch of memory errors(below) in the virtual host
error log and evntually a refusal for mod_python to process any posted
data over ~120K.

I saw this under the following environement:
Two LAN connections in immediate sequence,each minute post a string of xml
via comamnd line curl on an embeded linux server to a
XPPro-Apache2.5.5 ModPython3.1.4.  This file is varies in size from
about 150K to 400K (8 channels of xml tags and waveform floats).  The
script, takes this posted data, and writes it to the proper directory,
and names it based on documentElement....pretty simple

I had this running for 3 days and received over 6000 files and then
this morning i noticed it stopped, and saw the following error
repeated over and over.  I took a look at pythons memory in
TaskManager(nothing interesting), but unfortuately restarted apache
before i looked at its memory.  There are no errors in the main server
error log, just the virtual host.

I noticed before i restarted it that i could send a post(exact format
as above), via pyCurl that was about 100K and that would get
processed, but if sent a larger via say 1700K, i would get another
memory_error in the log.

I realize there are a lot of places to look things to blame it on
...granted this is my development XP desktop/dev box.  It died in the
am, before any use.

What i was hoping to do with the above scenario is run about 10+ of
these devices and still be taking in a file a minute or more, and then
random files less often (10-15 minutes)

Since this wont happen again for a few days, i thought id seek out
some wisdom awaiting the crash

TIA

Jeff
[Sun Feb 26 08:24:49 2006] [error] [client 192.168.2.102]
PythonHandler mod_python.publisher: Traceback (most recent call last):
[Sun Feb 26 08:24:49 2006] [error] [client 192.168.2.102]
PythonHandler mod_python.publisher:   File
"D:\\Servers\\python\\Lib\\site-packages\\mod_python\\apache.py", line
299, in HandlerDispatch\n    result = object(req)
[Sun Feb 26 08:24:49 2006] [error] [client 192.168.2.102]
PythonHandler mod_python.publisher:   File
"D:\\Servers\\python\\Lib\\site-packages\\mod_python\\publisher.py",
line 134, in handler\n    req.form = util.FieldStorage(req,
keep_blank_values=1)
[Sun Feb 26 08:24:49 2006] [error] [client 192.168.2.102]
PythonHandler mod_python.publisher:   File
"D:\\Servers\\python\\Lib\\site-packages\\mod_python\\util.py", line
114, in __init__\n    pairs = parse_qsl(req.read(clen),
keep_blank_values)
[Sun Feb 26 08:24:49 2006] [error] [client 192.168.2.102]
PythonHandler mod_python.publisher: MemoryError

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message