some pages give 500 error.
Posted: Fri Jan 23, 2015 6:33 pm
hi, m using vestacp for a month now, but still a novice.
my problem is the php works great if i need to process few things like few rows of table at a time, but when it comes to processing large database values, it gives 500 error. even if my database entries are more than 100 rows (1 row each of 2 columns), it stucks at giving me 500 error. i thought it was occuring because it has limited php_execution time(30 sec), but even if i changed it to 300 sec, it gave same error.
FYI: m using Digital Ocean cloud server, with centos 6, 512 memory and single core CPU.
following is the error m getting from error log:
2015/01/23 13:17:01 [error] 1544#0: *50801 upstream prematurely closed connection while reading response header from upstream, client: 123.237.59.221, server: saiinternationallehra.com, request: "POST /index.php/notification/send_sms HTTP/1.1", upstream: "http://128.199.132.91:8080/index.php/notification/send_sms", host: "saiinternationallehra.com", referrer: "http://saiinternationallehra.com/index.php/notification/send_sms"
thanks in advance.
my problem is the php works great if i need to process few things like few rows of table at a time, but when it comes to processing large database values, it gives 500 error. even if my database entries are more than 100 rows (1 row each of 2 columns), it stucks at giving me 500 error. i thought it was occuring because it has limited php_execution time(30 sec), but even if i changed it to 300 sec, it gave same error.
FYI: m using Digital Ocean cloud server, with centos 6, 512 memory and single core CPU.
following is the error m getting from error log:
2015/01/23 13:17:01 [error] 1544#0: *50801 upstream prematurely closed connection while reading response header from upstream, client: 123.237.59.221, server: saiinternationallehra.com, request: "POST /index.php/notification/send_sms HTTP/1.1", upstream: "http://128.199.132.91:8080/index.php/notification/send_sms", host: "saiinternationallehra.com", referrer: "http://saiinternationallehra.com/index.php/notification/send_sms"
thanks in advance.