Jump to content
The Uniform Server Community

Recommended Posts

Posted

Hi,

 

Hope someone here could help me out. My application will be deployed soon. I am planning to use Uniform server at client site. But during my own testing, my application from time to time hang for no apparent reason. In a span of 30 minutes or so, I think I have restart uniform server 3-4 times because my application froze(Hang).

 

I am using Uniform Server 5.6.3- Nano

 

Really hope some guru here can help me out :)

 

Thanks,

 

Erik

 

 

 

Hi,

 

Hope someone here could help me out. My application will be deployed soon. I am planning to use Uniform server at client site. But during my own testing, my application from time to time hang for no apparent reason. In a span of 30 minutes or so, I think I have restart uniform server 3-4 times because my application froze(Hang).

 

I am using Uniform Server 5.6.3- Nano

 

Really hope some guru here can help me out :)

 

Thanks,

 

Erik

 

More info:

- I am on Window XP.

 

If you guys need more info please ask me :)

 

Thanks,

Posted

Check Apache log to see if it provides a clue:

 

UniServer\usr\local\apache2\logs

 

All the best

Ric :)

Posted

Check Apache log to see if it provides a clue:

 

UniServer\usr\local\apache2\logs

 

All the best

Ric :)

 

Already did check the apache error log but i did not understand how to read it. From What I see it does not tell me anything wrong.

 

Basically the part where I encounter hang the most is the login form of my application. If I login and logout several times which I have to do during testing of my access control level login, it hang sometimes. I did some quick test again just now and it hang again :) . Here is the apache error log for today ( only copy paste the entry for today) hope you can understand what wrong by looking at the log.

 

[sat May 15 09:45:01 2010] [notice] Apache/2.2.15 (Win32) PHP/5.3.2 DAV/2 configured -- resuming normal operations

[sat May 15 09:45:01 2010] [notice] Server built: Mar 4 2010 11:27:46

[sat May 15 09:45:01 2010] [notice] Parent: Created child process 5272

[sat May 15 09:45:01 2010] [notice] Child 5272: Child process is running

[sat May 15 09:45:02 2010] [notice] Child 5272: Acquired the start mutex.

[sat May 15 09:45:02 2010] [notice] Child 5272: Starting 250 worker threads.

[sat May 15 09:45:02 2010] [notice] Child 5272: Starting thread to listen on port 85.

[sat May 15 09:47:42 2010] [notice] Apache/2.2.15 (Win32) PHP/5.3.2 DAV/2 configured -- resuming normal operations

[sat May 15 09:47:42 2010] [notice] Server built: Mar 4 2010 11:27:46

[sat May 15 09:47:42 2010] [notice] Parent: Created child process 1368

[sat May 15 09:47:43 2010] [notice] Child 1368: Child process is running

[sat May 15 09:47:43 2010] [notice] Child 1368: Acquired the start mutex.

[sat May 15 09:47:43 2010] [notice] Child 1368: Starting 250 worker threads.

[sat May 15 09:47:43 2010] [notice] Child 1368: Starting thread to listen on port 85.

 

Any Idea what went wrong?

 

 

Thank You,

 

Erik

Posted

I agree nothing in the log shows any problems all looks fine.

 

I was going to suggest using 5.6.5 however there is little difference between 5.6.3 regarding the issue you are seeing.

 

It could be a script issue depends what your application does.

 

The only things I can think of is run a very simple page that periodically requests a refresh from the server and leave it running.

 

If it crashes it’s a server issue if it runs could be a script issue.

 

All the best

Ric :)

Posted

I agree nothing in the log shows any problems all looks fine.

 

I was going to suggest using 5.6.5 however there is little difference between 5.6.3 regarding the issue you are seeing.

 

It could be a script issue depends what your application does.

 

The only things I can think of is run a very simple page that periodically requests a refresh from the server and leave it running.

 

If it crashes it’s a server issue if it runs could be a script issue.

 

All the best

Ric :)

 

Thanks... for the help .. ok i will try your suggestion and see how it goes. How simple the test script we are talking? is a simple page with echo"hello world" sufficient?

 

Thanks,

 

Erik

Posted

Something like this will do:

<html>
<head>
<meta http-equiv="refresh" content="2;url=test.php">
<title>Test</title>
</head>
<body>
<?php echo  $_SERVER['REQUEST_TIME']; ?>
</body>
</html>

Save as test.php

Run http://localhost/test.php

 

All the best

Ric :)

Posted

Something like this will do:

<html>
<head>
<meta http-equiv="refresh" content="2;url=test.php">
<title>Test</title>
</head>
<body>
<?php echo  $_SERVER['REQUEST_TIME']; ?>
</body>
</html>

Save as test.php

Run http://localhost/test.php

 

All the best

Ric :)

 

Tried your test.php script. not experiencing freeze/hang so far. But I have tried my application on my friend's wampServer for few days so far no hang/freeze so far. BUT i do not want to use wampServer for as a production platform for my client. I want to use your uniformserver.

 

hmm maybe I should provide some more information , hope you can help me to figure out what is going on.

 

the part where I encounter server Hang is when I try to login and logout multiple time (I mentioned this before), during the login process I have session_start(); somewhere in the code and during logout I unset all the session variable.

 

Thanks,

 

Erik

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...