Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Julian Pietron <julian <at> whisper-net.de>
Subject: File uploads onto slow file systems/storage hardware
Newsgroups: gmane.comp.web.cherokee.general
Date: Wednesday 11th April 2012 13:57:03 UTC (over 5 years ago)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hallo,

we recently experienced some problems when uploading (large) files (>=30
MB) with cherokee: After a part of the upload has completed, a 500
Internal Server error is issued to the browser and the connection (and
upload) is terminated. These problems only occur on an embedded board
with a Cortex A8-ARM processor and a very slow NAND memory (where the
file shall be stored to). For file corruption prevention, the file
system (ext3) on this NAND is mounted in sync mode so that no data is
buffered in RAM but anything is written directly to NAND. Even if async
mode is used instead, the error occurs after some more time (probably if
the kernel's I/O buffer is full). cherokee delivers the upload to a
backend application attached via FastCGI.
My question is: Is there anything within cherokee that may cause such a
behaviour, if e.g. the backend application needs to long to handle the
request (because the file has to be stored to NAND before the request is
handled), or is it all the fault of the backend application? Are there
any configuration values in cherokee that may influence this behaviour?

Thanks,
Julian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJPhY2vAAoJENidYKvYQHlQY3sQAJB/btJ0kuqiDvBdQ1S1VZiq
m2PAZf29UW0Kqls+UFyy6aee5gGJ13QiM78pLkkJCweUrgeGVqUKVOEyLKyByd+U
LuenfIuaJMs6TRV5FDRcErgW8CycConF3V456wPBFLVWzhXuWg8vYqodwh0H5fVZ
vvj81ZGQ9oxsc9CFer7dUWqPgIwUvejWQBOzJAHICZGFLe2bbPS57l2MfKP428wY
qhiYYqFORU8qfAJYyuRf3tnCLDa0+TC833XZpzReuBiiQJgkN2u3siunSJGqDYXd
bMzbT83r/oBdJHIWZDm8Cuqb/0HPzRkVnJtn+wsPm7wVIiDVxQN0pSEa+kSzYYRw
lHio++XQoWBBu0BKiBHlAeZmto8dGphwlpEjd5xSH9X2PvOdyiGhOax0zWpqo3Dh
iRltHAoo09Z6M2iqE63GARQI3r6QcigI6KlGkhil9QY7r7lgU1/H0EfW2vjnNt/9
6Ca1eK429wFkkCN8eFO9HUfHln1ssIIn/2ebWXiwo7gbnbkqB14ugdZV4EDcNY14
a+VmEAsXnkFdRw4V2ziw5FmNDrKkZXhcnmlBm2DQFrfiMNTZhwunXqyFOCv4uPin
Uu/Op4tOlqUSSsBw271cdNV+mX3NCBRn3HGuvVYQ7yT7CJ1HbrZIpCaw9GgfWVgy
V+rAp/kUgsYSSPnhxZ9y
=MrTL
-----END PGP SIGNATURE-----
 
CD: 3ms