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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > How to debug 503 Service Unavailable error

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-05-2012, 09:19 AM
eugene_b eugene_b is offline
New Member
 
Join Date: Apr 2012
Posts: 2
Default How to debug 503 Service Unavailable error

Hello,

We are using dompdf library which is a php library that converts html to pdf. And for some html documents we are trying to convert, server outputs 503 error (the server is cpanel litespeed).

The error is consistent and always happens for a given document. However if I start taking away some stuff from the document, it starts working at some point. I also tried taking away different pieces of the document and it seems that the error is not specific to some piece, but rather to the total size of the document.

That led me to believe that the server is hitting some memory limit. However when I created a test script that overloads the memory and ran it on the same server, the behavior was normal: it was gradually using up the memory and then died with php's memory error when it did hit the right limit. Then I decided to test against script run-time in case it's an infinite loop. The script in question fails with 503 error after 35 seconds of execution. A test script that just waits for 60 seconds, doesn't fail at all.

So I am a little lost and would appreciate some help debugging this. I tried searching through forum and checking multiple log files but didn't find anything useful. Could you let me know how I should approach the problem, i.e. how can I get from the server anything more descriptive than 503. We tried increasing different configs in litespeed admin area but that didn't help too.
Reply With Quote
 

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


All times are GMT -7. The time now is 05:23 PM.



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