HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Server Operation (http://www.howtoforge.com/forums/forumdisplay.php?f=5)
-   -   nginx Errors (http://www.howtoforge.com/forums/showthread.php?t=51136)

bluefirex 26th January 2011 14:16

nginx Errors
 
Hey guys,

I've installed nginx with PHP and MySQL on my vServer and have now a problem: Every time I want to upload my backupped into my phpMyAdmin, It takes long time and then the connection will be resetted.

I've set all max_execution_time-Settings (php.ini, nginx.conf) to "90000", which should be no problem.

What can I do?

alleks 26th January 2011 18:16

Any errors in your logs?

Post some suspicious log results :D

bluefirex 26th January 2011 18:23

Yes, I have in /var/logs/nginx/error.log:

Quote:

2011/01/25 17:22:33 [error] 4248#0: *6 client intended to send too large body: 5166737 bytes, client: 87.149.64.148, server: pma.v.gidix.de, request: "POST /import.php HTTP/1.1", host: "pma.v.gidix.de", referrer: "http://pma.v.gidix.de/db_import.php?db=generate&server=1&token=5724c2106 29c666ce85748f49e872d44"
What does it say and how can I fix this?

falko 27th January 2011 14:04

It seems as if your SQL dump is too large. I suggest you try this to import your SQL dump: http://www.howtoforge.com/faq/6_4_en.html

bluefirex 27th January 2011 16:08

Thx, I could import my MySQL-data but how can I make the PMA-import function to work on nginx (for >3MB)?

alleks 27th January 2011 16:52

Update in php5 the max upload size to the values you want/need

For example:
Code:

upload_max_filesize = 10M
post_max_size = 10M



All times are GMT +2. The time now is 11:10.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.