#1  
Old 26th January 2011, 14:16
bluefirex bluefirex is offline
Junior Member
 
Join Date: Jan 2011
Location: Germany
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to bluefirex
Default 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?
Reply With Quote
Sponsored Links
  #2  
Old 26th January 2011, 18:16
alleks alleks is offline
Senior Member
 
Join Date: Nov 2010
Posts: 157
Thanks: 9
Thanked 9 Times in 9 Posts
Default

Any errors in your logs?

Post some suspicious log results
Reply With Quote
  #3  
Old 26th January 2011, 18:23
bluefirex bluefirex is offline
Junior Member
 
Join Date: Jan 2011
Location: Germany
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to bluefirex
Default

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?
Reply With Quote
  #4  
Old 27th January 2011, 14:04
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,745 Times in 2,578 Posts
Default

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
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 27th January 2011, 16:08
bluefirex bluefirex is offline
Junior Member
 
Join Date: Jan 2011
Location: Germany
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to bluefirex
Default

Thx, I could import my MySQL-data but how can I make the PMA-import function to work on nginx (for >3MB)?
Reply With Quote
  #6  
Old 27th January 2011, 16:52
alleks alleks is offline
Senior Member
 
Join Date: Nov 2010
Posts: 157
Thanks: 9
Thanked 9 Times in 9 Posts
 
Default

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

For example:
Code:
upload_max_filesize = 10M
post_max_size = 10M
Reply With Quote
Reply

Bookmarks

Tags
error, mysql, nginx, php, reset

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Working Nginx Catchall with ISPConfig 3. renders Tips/Tricks/Mods 4 15th April 2011 21:53
Nginx and PHP and Fastcgi Paladinemishakal Installation/Configuration 1 4th January 2011 13:45
FuzzyOcr Errors danielvm HOWTO-Related Questions 0 31st October 2010 17:05
Fedora 10 - Virtual Users And Domains With Postfix, Courier etc j.smith1981 Server Operation 6 17th February 2010 01:01
Nginx on Fedora 11 Nammut HOWTO-Related Questions 1 3rd October 2009 16:35


All times are GMT +2. The time now is 23:38.


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