Re: problem with uploads

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

 





On 08/17/2010 07:40 AM, Piotr Kloc wrote:
Hello !
I am using apache and suphp but I think its not a PHP problem
When I uploaded some files I got 500 errors in my apps after few seconds
of uploading.
I debug the apache process that handle the upload request and I can see
the following
write(7663,
"\355\251\312\37\35689\253\235i:jQ\350w*\234\2113`\304\326\301\241\233\357\0>`C\3\221\221"...,
588) = 588
poll([{fd=7661, events=POLLIN}], 1, 360000) = 1 ([{fd=7661,
revents=POLLIN}])
read(7661,
"H%e\334\31;|\303\333\267\343ZS\304)\305\251-\314\251\246\247#^\320M-\273\20\2\263\234\343"...,
8000) = 1460
write(7663,
"H%e\334\31;|\303\333\267\343ZS\304)\305\251-\314\251\246\247#^\320M-\273\20\2\263\234\343"...,
1460) = 1460
poll([{fd=7661, events=POLLIN}], 1, 360000) = 1 ([{fd=7661,
revents=POLLIN}])
read(7661,
"1z\244\344\310r\6\17Z\371*r\266!\304P\217?\275\334\264\211\r\345\271P\206GV(\341\220\205"...,
8000) = 588
write(7663,
"1z\244\344\310r\6\17Z\371*r\266!\304P\217?\275\334\264\211\r\345\271P\206GV(\341\220\205"...,
588) = 588
poll([{fd=7661, events=POLLIN}], 1, 360000) = 1 ([{fd=7661,
revents=POLLIN}])
read(7661,
"<`\343\374\363\212\303\353\36\326\272r]\f\2516\244\322*\337O\346\307\301\340W;\255\352\16\331\334\314"...,
8000) = 1460
write(7663,
"<`\343\374\363\212\303\353\36\326\272r]\f\2516\244\322*\337O\346\307\301\340W;\255\352\16\331\334\314"...,
1460) = 1460
poll([{fd=7661, events=POLLIN}], 1, 360000) = 1 ([{fd=7661,
revents=POLLIN}])
read(7661,
"\333g\250\3040\f\31;\312\344\310x\364\3060?\255u\244\336&('\4\323E)\357<\226$\222\241"...,
8000) = 588
write(7663,
"\333g\250\3040\f\31;\312\344\310x\364\3060?\255u\244\336&('\4\323E)\357<\226$\222\241"...,
588) = 588
poll([{fd=7661, events=POLLIN}], 1, 360000) = 1 ([{fd=7661,
revents=POLLIN}])
read(7661,
"\327\245u\342\251{J~\314\327\206\361\327\235\232<\357\304\272lq\t\n\261o\367\206\17J\307\322b\222"...,
8000) = 1460
write(7663,
"\327\245u\342\251{J~\314\327\206\361\327\235\232<\357\304\272lq\t\n\261o\367\206\17J\307\322b\222"...,
1460) = 1460
poll([{fd=7661, events=POLLIN}], 1, 360000) = ? ERESTART_RESTARTBLOCK
(To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
restart_syscall(<... resuming interrupted call ...>) = 1
read(7661,
"\240\222}\272\343\361\25=\251s\0240\22\302$;\260\34\216~\236\370\25\236\222\211\264R\271j#\345\206"...,
8000) = 588
write(7663,
"\240\222}\272\343\361\25=\251s\0240\22\302$;\260\34\216~\236\370\25\236\222\211\264R\271j#\345\206"...,
588) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
poll([{fd=7661, events=POLLIN}], 1, 360000) = 1 ([{fd=7661,
revents=POLLIN}])
read(7661,
"[k_2\361\276uxS\34\376\3\212\236\340\307p\373\3067(\333\323\250\377\0&\243\27RN\232i"...,
8000) = 1460
write(7663,
"[k_2\361\276uxS\34\376\3\212\236\340\307p\373\3067(\333\323\250\377\0&\243\27RN\232i"...,
1460) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
what means
poll([{fd=7661, events=POLLIN}], 1, 360000) = ? ERESTART_RESTARTBLOCK
(To be restarted) ?
main apache process killed the child process ?
I am using prefork and settings
Timeout 360
KeepAlive On

MaxKeepAliveRequests 100000
KeepAliveTimeout 5
StartServers 20
MinSpareServers 20
MaxSpareServers 40
ServerLimit 380
MaxClients 380
MaxRequestsPerChild 100000
Regards,
Piotr


Piotr,

Let's see the literal entry from the error / suexec / php log instead. A 500 is always logged in either of those files.

Frank.

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux