boakley / robotframework-hub

Web app for accessing robot framework assets
https://github.com/boakley/robotframework-hub/wiki
Apache License 2.0
169 stars 60 forks source link

rf-hub charshes #71

Open aaltat opened 7 years ago

aaltat commented 7 years ago

I have quite large amount of keyword, like in thousands and amount is growing. Lately the rf-hub has been starting to hang/crash randomly. I get error ERR_CONNECTION_REFUSED with when using chrome.

I can not see error in the output which the rf-hub produces nor I can find any obvious problems in the Windows machine where the service is running. I am wondering where I could start debugging the problem more deeply to find out the reason for the server crash?

aaltat commented 7 years ago

And did forget to post the environment details: Windows 7 (64bit), Python 2.7 and using rf-hub 0.9 version.

boakley commented 7 years ago

Thousands of keywords, or thousands of resource or library files? Are you sure rfhub is "crashing"? Connection refused could just mean that it's temporarily too busy to service a request. Does the rfhub process actually die?

On Thu, Sep 29, 2016 at 2:29 AM, Tatu Aalto notifications@github.com wrote:

And did forget to post the environment details: Windows 7 (64bit), Python 2.7 and using rf-hub 0.9 version.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/boakley/robotframework-hub/issues/71#issuecomment-250391666, or mute the thread https://github.com/notifications/unsubscribe-auth/ABEmYpjcwXGZ3kpp4N1zdtsWhyKtnW4hks5qu2i8gaJpZM4KJpy6 .

aaltat commented 7 years ago

Sorry that it did take so long to respond to this but other priorities. The process is actually running in the server side, but it looks like it is hanging to something and can not serve any new request. The console does not show any resent activity and time stamp on the console is several days old and new events are not flushed to the console. The process is idling, it does consume any disk I/O or hardly (0 - 1%) any CPU.

The problem is resolved if I reboot the service and for a while it works fine but after some while it seems to hang again.