LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > 503 error, phpMyAdmin running sql query

Reply
 
Thread Tools Display Modes
  #1  
Old 02-28-2005, 10:02 PM
Da-Idiot Da-Idiot is offline
Member
 
Join Date: Jan 2005
Posts: 23
Default 503 error, phpMyAdmin running sql query

I am having problems with running large sql queries with PhpMyAdmin under lsws

The sql query that is being run is around 3MB

I thought at first it may be the upload_max_filesize = 2M So i changed it to 4M No go.

I then checked the logs and found

lsws/log/error.log

FATAL: emalloc(): Unable to allocate 2040073 bytes
FATAL: emalloc(): Unable to allocate 2040073 bytes
FATAL: emalloc(): Unable to allocate 2040073 bytes
FATAL: emalloc(): Unable to allocate 2040073 bytes
FATAL: emalloc(): Unable to allocate 2040073 bytes
FATAL: emalloc(): Unable to allocate 2040073 bytes

Then went to admin and changed

Debug Level = High
Log Level = Debug

Here are the lines from error.log that are being produced from the above settings.

2005-02-28 16:36:54.225 [DEBUG] Failed to execute 'mpstat' command: No such file or directory
2005-02-28 16:36:59.229 [DEBUG] Failed to execute 'mpstat' command: No such file or directory
2005-02-28 16:37:04.233 [DEBUG] Failed to execute 'mpstat' command: No such file or directory
2005-02-28 16:37:09.238 [DEBUG] Failed to execute 'mpstat' command: No such file or directory
2005-02-28 16:37:14.242 [DEBUG] Failed to execute 'mpstat' command: No such file or directory
2005-02-28 16:37:19.246 [DEBUG] Failed to execute 'mpstat' command: No such file or directory
2005-02-28 16:37:24.250 [DEBUG] Failed to execute 'mpstat' command: No such file or directory

I thought mpstat had to do with getting system info such as processor id and the such.

I know the above errors are being created when trying to run my sql queries because the same
thing keeps on growing in the log at the same time i am making the 503 come up


Please help me with this. I am slowly getting the site up again.

I am running now on suse 9.2 professional minimal install Kernel 2.6.x

thanx
Reply With Quote
  #2  
Old 03-01-2005, 06:35 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
In addition to the limits in PHP, you should check the request, response body size limit of lsws, they are under "server"->"tuning" tab.

Please error.log and stderr.log, and restart lsws.
Reply With Quote
  #3  
Old 03-01-2005, 10:47 PM
Da-Idiot Da-Idiot is offline
Member
 
Join Date: Jan 2005
Posts: 23
AHH YES

Sure enough it was the max dynamic request body size

was set to 1M

Changed to 4M and worked like a charm.

Thanx
Reply With Quote
Reply

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
Running PHP 4 and 5 in parallel Sasa PHP 15 05-21-2007 12:42 PM
Keep ruby RailsRunner.rb's running all the time? inspirix Install/Configuration 3 04-05-2007 01:19 PM
Query re cPanel type tools bdm Install/Configuration 1 03-19-2007 08:22 AM
Problem running Gallery under LiteSpeed kchrist PHP 4 10-01-2006 02:53 PM
1.5RC1 context xing Bug Reports 2 04-28-2004 09:27 AM


All times are GMT -7. The time now is 03:13 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.