Unresponsive ERPNext Site

I recently installed ERPNext on a virtual box running Ubuntu 13.10 on our server and mostly everything works so far, however ERPNext becomes unresponsive after a few hours. Checking the vbox I can still shh in and see that wnf.py is still running.  I can get ERPNext running again by killing the process and issuing another serve command with no problems but it will again become unresponsive after a few hours.  I dont know what is causing this problem or where I need to look to find out.  I am only a basic linux user. Any help would be appreciated.

Thank You



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.

HI Joshua,

We run ./lib/wnf.py --serve all day (though it keeps reloading when
changing a file). Can you try using another WSGI server ?

pip install gunicorn
gunicorn -b 127.0.0.1:8000 -w 2 lib.webnotes.app:application

On Fri, Nov 8, 2013 at 11:10 PM, Joshua Jach jo...@gmail.com wrote:

I recently installed ERPNext on a virtual box running Ubuntu 13.10 on our
server and mostly everything works so far, however ERPNext becomes
unresponsive after a few hours. Checking the vbox I can still shh in and see
that wnf.py is still running. I can get ERPNext running again by killing
the process and issuing another serve command with no problems but it will
again become unresponsive after a few hours. I dont know what is causing
this problem or where I need to look to find out. I am only a basic linux
user. Any help would be appreciated.

Thank You


Note:

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much
    information as you can. Please see it from the point of view of the person
    receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send
    only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do
    not send images as attachments. Links are good. Same goes for any file you
    are going to send.

End of Note

You received this message because you are subscribed to the Google Groups
“ERPNext Developer Forum” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to erpnext-developer-forum+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Pratik Vyas
Ph: +919925239915
Google Profile : http://www.google.com/profiles/pdvyas

When I run these commands I get the following error. 

2013-11-14 12:41:08 [6194] [INFO] Starting gunicorn 18.0
2013-11-14 12:41:08 [6194] [ERROR] Connection in use: ('127.0.0.1', 8000)
2013-11-14 12:41:08 [6194] [ERROR] Retrying in 1 second.
2013-11-14 12:41:09 [6194] [ERROR] Connection in use: ('127.0.0.1', 8000)
2013-11-14 12:41:09 [6194] [ERROR] Retrying in 1 second.
2013-11-14 12:41:10 [6194] [ERROR] Connection in use: ('127.0.0.1', 8000)
2013-11-14 12:41:10 [6194] [ERROR] Retrying in 1 second.
2013-11-14 12:41:11 [6194] [ERROR] Connection in use: ('127.0.0.1', 8000)
2013-11-14 12:41:11 [6194] [ERROR] Retrying in 1 second.
2013-11-14 12:41:12 [6194] [ERROR] Connection in use: ('127.0.0.1', 8000)
2013-11-14 12:41:12 [6194] [ERROR] Retrying in 1 second.
2013-11-14 12:41:13 [6194] [ERROR] Can't connect to ('127.0.0.1', 8000)


On Sunday, November 10, 2013 1:48:37 AM UTC-6, Pratik Vyas wrote:
HI Joshua,

We run ./lib/wnf.py --serve all day (though it keeps reloading when
changing a file). Can you try using another WSGI server ?

pip install gunicorn
gunicorn -b 127.0.0.1:8000 -w 2 lib.webnotes.app:application


On Fri, Nov 8, 2013 at 11:10 PM, Joshua Jach <jo...@gmail.com> wrote:
> I recently installed ERPNext on a virtual box running Ubuntu 13.10 on our
> server and mostly everything works so far, however ERPNext becomes
> unresponsive after a few hours. Checking the vbox I can still shh in and see
> that wnf.py is still running.  I can get ERPNext running again by killing
> the process and issuing another serve command with no problems but it will
> again become unresponsive after a few hours.  I dont know what is causing
> this problem or where I need to look to find out.  I am only a basic linux
> user. Any help would be appreciated.
>
> Thank You
>
> --
> Note:
>
> If you are posting an issue,
> 1. We should be able to replicate it at our end. So please give us as much
> information as you can. Please see it from the point of view of the person
> receiving the communication.
> 2. Paste your code at http://pastebin.com or http://gist.github.com and send
> only the URL via email
> 3. For sending images, use http://imgur.com or other similar services. Do
> not send images as attachments. Links are good. Same goes for any file you
> are going to send.
>
> End of Note
> ---
> You received this message because you are subscribed to the Google Groups
> "ERPNext Developer Forum" group.
> To unsubscribe from this group and stop receiving emails from it, send an




--
Pratik Vyas
Ph: +919925239915
Google Profile : http://www.google.com/profiles/pdvyas



Note:

 

If you are posting an issue,

  1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un...@googlegroups.com.

    For more options, visit https://groups.google.com/groups/opt_out.