Rhodecode hangs every day since 1.3 upgrade

150 views
Skip to first unread message

Frederic Latour

unread,
Mar 7, 2012, 8:37:38 PM3/7/12
to rhod...@googlegroups.com
I had an 1.2 rhodecode installation working fine on Windows 2008 R2.
Since I upgraded to 1.3 the server hangs everyday. My only solution is to restart it.

Here are the information I get in the command windows when the server locks down:
2012-03-08 00:54:54.572 INFO  [paste.httpserver.ThreadPool] No idle tasks, and only 0 busy tasks; adding 5 more workers
2012-03-08 00:54:54.657 INFO  [rhodecode.lib.auth] user jenkins_user authenticated correctly
2012-03-08 00:56:54.315 INFO  [paste.httpserver.ThreadPool] Culling 20 extra workers (4 idle workers present)
2012-03-08 01:00:54.795 INFO  [paste.httpserver.ThreadPool] No idle tasks, and only 0 busy tasks; adding 5 more workers
2012-03-08 01:00:54.806 WARNI [paste.httpserver.ThreadPool] Thread 1896 hung (working on task for 2396 seconds)

No need to say this is really annoying.
Any ideas? Anything I can test?

Marcin Kuzminski

unread,
Mar 10, 2012, 7:10:41 PM3/10/12
to rhod...@googlegroups.com
I recommend turning DEBUG logleve and check what's going on there that the tasks can take so long. (my first guess statistics ?)

enable detailed debug
---------------------

RhodeCode uses standard python logging modules to log it's output.
By default only loggers with INFO level are displayed. To enable full output
change `level = DEBUG` in .ini file for all logging handlers. After this you
can check much more detailed output of actions happening on RhodeCode system.

Frederic Latour

unread,
Mar 10, 2012, 9:11:45 PM3/10/12
to rhod...@googlegroups.com
I haven't any repository that have statistic enabled...
As a matter of fact I didn't change anything apart from upgrading... 1.2.x was working like a charm.

Don't know anything about python.
Would you mind clarifying which file exactly I must modify? production.ini?

If so, I don't even understand how LOGGERS with INFO levels are displayed from what I'm seeing in the production.ini.
Care to describe what I need to change in the file?

Where am I supposed to get some log file?
Thanks

Marcin Kuzminski

unread,
Mar 12, 2012, 1:04:24 AM3/12/12
to rhod...@googlegroups.com
change the level of handlers to DEBUG, there are just two handlers

[handler_console]
class = StreamHandler
args = (sys.stderr,)
level = INFO <----------change this to DEBUG
formatter = generic

Frederic Latour

unread,
Mar 28, 2012, 6:59:20 AM3/28/12
to rhod...@googlegroups.com
How can I easily store the output in a file instead of the console?

Frederic Latour

unread,
Mar 28, 2012, 8:50:36 AM3/28/12
to rhod...@googlegroups.com

Here is what I get when it hangs... Any idea?


2012-03-28 14:43:09.006 DEBUG [beaker.container] lock_creatfunc (didnt wait)
2012-03-28 14:43:09.009 DEBUG [rhodecode.lib.middleware.simplegit] is a git path
 None pathinfo : /Enesys-Data-Extension/EnesysRSDataExtension
2012-03-28 14:43:09.009 DEBUG [rhodecode.lib.middleware.simplehg] Extracted repo
 name is Enesys-Data-Extension/EnesysSharePointQuery
2012-03-28 14:43:09.009 DEBUG [beaker.container] get_value creating new value
2012-03-28 14:43:09.009 DEBUG [rhodecode.lib.middleware.simplehg] Extracted repo
 name is Enesys-Data-Extension/EnesysRSDataExtension
2012-03-28 14:43:09.013 DEBUG [beaker.container] get_value returning old value w
hile new one is created
2012-03-28 14:43:09.015 DEBUG [beaker.container] set_value stored time 133293858
9.015 expire time 10
2012-03-28 14:43:09.019 DEBUG [beaker.container] get_value returning old value w
hile new one is created
2012-03-28 14:43:09.019 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:No
ne|False')> that could been used to log in
2012-03-28 14:43:09.019 DEBUG [beaker.container] released create lock
2012-03-28 14:43:09.019 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:No
ne|False')> that could been used to log in
2012-03-28 14:43:09.019 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:None:None|False')>
2012-03-28 14:43:09.019 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:No
ne|False')> that could been used to log in
2012-03-28 14:43:09.020 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:None:None|False')>
2012-03-28 14:43:09.035 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:None:None|False')>
2012-03-28 14:43:09.039 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks
queued)
2012-03-28 14:43:09.049 DEBUG [rhodecode.lib.middleware.simplegit] is a git path
 None pathinfo : /Enesys-Data-Extension/EnesysISDataExtension
2012-03-28 14:43:09.051 DEBUG [rhodecode.lib.middleware.simplehg] Extracted repo
 name is Enesys-Data-Extension/EnesysISDataExtension
2012-03-28 14:43:09.073 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:No
ne|False')> that could been used to log in
2012-03-28 14:43:09.075 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:None:None|False')>
2012-03-28 14:43:09.138 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:default repository:Enesys-Data-Ext
ension/EnesysSharePointQuery
2012-03-28 14:43:09.138 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:43:09.141 DEBUG [rhodecode.lib.middleware.simplehg] Anonymous acce
ss is disabled, running authentication
2012-03-28 14:43:09.142 DEBUG [rhodecode.SimpleHg] Request time: 0.134s
2012-03-28 14:43:09.147 DEBUG [rhodecode.SimpleGit] Request time: 0.146s
2012-03-28 14:43:09.157 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks
queued)
2012-03-28 14:43:09.164 DEBUG [rhodecode.lib.middleware.simplegit] is a git path
 None pathinfo : /Enesys-Data-Extension/EnesysSharePointQuery
2012-03-28 14:43:09.167 DEBUG [rhodecode.lib.middleware.simplehg] Extracted repo
 name is Enesys-Data-Extension/EnesysSharePointQuery
2012-03-28 14:43:09.191 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:No
ne|False')> that could been used to log in
2012-03-28 14:43:09.193 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:None:None|False')>
2012-03-28 14:43:09.345 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:default repository:Enesys-Data-Ext
ension/ErsdeLicensing
2012-03-28 14:43:09.348 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:43:09.348 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:default repository:Enesys-Data-Ext
ension/EnesysRSDataExtension
2012-03-28 14:43:09.348 DEBUG [rhodecode.lib.middleware.simplehg] Anonymous acce
ss is disabled, running authentication
2012-03-28 14:43:09.349 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:43:09.351 DEBUG [rhodecode.lib.middleware.simplehg] Anonymous acce
ss is disabled, running authentication
2012-03-28 14:43:09.352 DEBUG [rhodecode.SimpleHg] Request time: 0.353s
2012-03-28 14:43:09.355 DEBUG [rhodecode.SimpleHg] Request time: 0.345s
2012-03-28 14:43:09.358 DEBUG [rhodecode.SimpleGit] Request time: 0.359s
2012-03-28 14:43:09.358 DEBUG [rhodecode.SimpleGit] Request time: 0.350s
2012-03-28 14:43:09.368 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks
queued)
2012-03-28 14:43:09.369 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks
queued)
2012-03-28 14:43:09.377 DEBUG [rhodecode.lib.middleware.simplegit] is a git path
 None pathinfo : /Enesys-Data-Extension/ErsdeLicensing
2012-03-28 14:43:09.378 DEBUG [rhodecode.lib.middleware.simplehg] Extracted repo
 name is Enesys-Data-Extension/ErsdeLicensing
2012-03-28 14:43:09.378 DEBUG [rhodecode.lib.middleware.simplegit] is a git path
 None pathinfo : /Enesys-Data-Extension/EnesysRSDataExtension
2012-03-28 14:43:09.380 DEBUG [rhodecode.lib.middleware.simplehg] Extracted repo
 name is Enesys-Data-Extension/EnesysRSDataExtension
2012-03-28 14:43:09.398 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:default repository:Enesys-Data-Ext
ension/EnesysISDataExtension
2012-03-28 14:43:09.400 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:43:09.401 DEBUG [rhodecode.lib.middleware.simplehg] Anonymous acce
ss is disabled, running authentication
2012-03-28 14:43:09.404 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:No
ne|False')> that could been used to log in
2012-03-28 14:43:09.404 DEBUG [rhodecode.SimpleHg] Request time: 0.354s
2012-03-28 14:43:09.405 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:None:None|False')>
2012-03-28 14:43:09.407 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:No
ne|False')> that could been used to log in
2012-03-28 14:43:09.408 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:None:None|False')>
2012-03-28 14:43:09.408 DEBUG [rhodecode.SimpleGit] Request time: 0.361s
2012-03-28 14:43:09.420 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks
queued)
2012-03-28 14:43:09.426 DEBUG [rhodecode.lib.middleware.simplegit] is a git path
 None pathinfo : /Enesys-Data-Extension/EnesysISDataExtension
2012-03-28 14:43:09.427 DEBUG [rhodecode.lib.middleware.simplehg] Extracted repo
 name is Enesys-Data-Extension/EnesysISDataExtension
2012-03-28 14:43:09.447 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:No
ne|False')> that could been used to log in
2012-03-28 14:43:09.447 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:None:None|False')>
2012-03-28 14:43:09.530 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:default repository:Enesys-Data-Ext
ension/EnesysSharePointQuery
2012-03-28 14:43:09.532 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:43:09.533 DEBUG [rhodecode.lib.middleware.simplehg] Anonymous acce
ss is disabled, running authentication
2012-03-28 14:43:09.548 DEBUG [rhodecode.lib.auth] Authenticating user using Rho
deCode account
2012-03-28 14:43:09.549 INFO  [rhodecode.lib.auth] user jenkins_user authenticat
ed correctly
2012-03-28 14:43:09.572 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 5

2012-03-28 14:43:09.573 DEBUG [rhodecode.model.user] filling <User('id:5:jenkins
_user')> data
2012-03-28 14:43:09.575 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:5:jenkins_user|False')>
2012-03-28 14:43:09.726 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:default repository:Enesys-Data-Ext
ension/ErsdeLicensing
2012-03-28 14:43:09.729 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:43:09.730 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:default repository:Enesys-Data-Ext
ension/EnesysRSDataExtension
2012-03-28 14:43:09.730 DEBUG [rhodecode.lib.middleware.simplehg] Anonymous acce
ss is disabled, running authentication
2012-03-28 14:43:09.732 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:43:09.733 DEBUG [rhodecode.lib.middleware.simplehg] Anonymous acce
ss is disabled, running authentication
2012-03-28 14:43:09.752 DEBUG [rhodecode.lib.auth] Authenticating user using Rho
deCode account
2012-03-28 14:43:09.753 INFO  [rhodecode.lib.auth] user jenkins_user authenticat
ed correctly
2012-03-28 14:43:09.753 DEBUG [rhodecode.lib.auth] Authenticating user using Rho
deCode account
2012-03-28 14:43:09.756 INFO  [rhodecode.lib.auth] user jenkins_user authenticat
ed correctly
2012-03-28 14:43:09.776 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 5

2012-03-28 14:43:09.778 DEBUG [rhodecode.model.user] filling <User('id:5:jenkins
_user')> data
2012-03-28 14:43:09.779 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 5

2012-03-28 14:43:09.780 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:5:jenkins_user|False')>
2012-03-28 14:43:09.780 DEBUG [rhodecode.model.user] filling <User('id:5:jenkins
_user')> data
2012-03-28 14:43:09.788 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:5:jenkins_user|False')>
2012-03-28 14:43:09.798 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:default repository:Enesys-Data-Ext
ension/EnesysISDataExtension
2012-03-28 14:43:09.799 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:43:09.802 DEBUG [rhodecode.lib.middleware.simplehg] Anonymous acce
ss is disabled, running authentication
2012-03-28 14:43:09.816 DEBUG [rhodecode.lib.auth] Authenticating user using Rho
deCode account
2012-03-28 14:43:09.818 INFO  [rhodecode.lib.auth] user jenkins_user authenticat
ed correctly
2012-03-28 14:43:09.835 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 5

2012-03-28 14:43:09.835 DEBUG [rhodecode.model.user] filling <User('id:5:jenkins
_user')> data
2012-03-28 14:43:09.836 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:5:jenkins_user|False')>
2012-03-28 14:43:09.930 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:jenkins_user repository:Enesys-Dat
a-Extension/EnesysSharePointQuery
2012-03-28 14:43:09.930 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:43:09.933 DEBUG [rhodecode.lib.middleware.simplehg] Repository pat
h is c:\data\repositories\Enesys-Data-Extension/EnesysSharePointQuery
2012-03-28 14:43:10.111 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:jenkins_user repository:Enesys-Dat
a-Extension/ErsdeLicensing
2012-03-28 14:43:10.112 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:43:10.114 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:jenkins_user repository:Enesys-Dat
a-Extension/EnesysRSDataExtension
2012-03-28 14:43:10.115 DEBUG [rhodecode.lib.middleware.simplehg] Repository pat
h is c:\data\repositories\Enesys-Data-Extension/ErsdeLicensing
2012-03-28 14:43:10.115 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:43:10.117 DEBUG [rhodecode.lib.middleware.simplehg] Repository pat
h is c:\data\repositories\Enesys-Data-Extension/EnesysRSDataExtension
2012-03-28 14:43:10.125 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:jenkins_user repository:Enesys-Dat
a-Extension/EnesysISDataExtension
2012-03-28 14:43:10.125 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:43:10.125 DEBUG [rhodecode.lib.middleware.simplehg] Repository pat
h is c:\data\repositories\Enesys-Data-Extension/EnesysISDataExtension
2012-03-28 14:45:10.280 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks
queued)
2012-03-28 14:45:10.286 DEBUG [rhodecode.lib.middleware.simplegit] is a git path
 None pathinfo : /Enesys-Data-Extension/EnesysSharePointQueryDesigner
2012-03-28 14:45:10.286 DEBUG [rhodecode.lib.middleware.simplehg] Extracted repo
 name is Enesys-Data-Extension/EnesysSharePointQueryDesigner
2012-03-28 14:45:10.293 DEBUG [beaker.container] lock_creatfunc (didnt wait)
2012-03-28 14:45:10.295 DEBUG [beaker.container] get_value creating new value
2012-03-28 14:45:10.296 DEBUG [beaker.container] set_value stored time 133293871
0.296 expire time 10
2012-03-28 14:45:10.296 DEBUG [beaker.container] released create lock
2012-03-28 14:45:10.296 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:No
ne|False')> that could been used to log in
2012-03-28 14:45:10.296 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:None:None|False')>
2012-03-28 14:45:10.328 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:default repository:Enesys-Data-Ext
ension/EnesysSharePointQueryDesigner
2012-03-28 14:45:10.328 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:45:10.328 DEBUG [rhodecode.lib.middleware.simplehg] Anonymous acce
ss is disabled, running authentication
2012-03-28 14:45:10.328 DEBUG [rhodecode.SimpleHg] Request time: 0.043s
2012-03-28 14:45:10.329 DEBUG [rhodecode.SimpleGit] Request time: 0.044s
2012-03-28 14:45:10.335 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks
queued)
2012-03-28 14:45:10.336 DEBUG [rhodecode.lib.middleware.simplegit] is a git path
 None pathinfo : /Enesys-Data-Extension/EnesysSharePointQueryDesigner
2012-03-28 14:45:10.336 DEBUG [rhodecode.lib.middleware.simplehg] Extracted repo
 name is Enesys-Data-Extension/EnesysSharePointQueryDesigner
2012-03-28 14:45:10.341 DEBUG [rhodecode.lib.auth] No data in <AuthUser('id:1:No
ne|False')> that could been used to log in
2012-03-28 14:45:10.342 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:None:None|False')>
2012-03-28 14:45:10.368 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:default repository:Enesys-Data-Ext
ension/EnesysSharePointQueryDesigner
2012-03-28 14:45:10.368 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:45:10.368 DEBUG [rhodecode.lib.middleware.simplehg] Anonymous acce
ss is disabled, running authentication
2012-03-28 14:45:10.371 DEBUG [rhodecode.lib.auth] Authenticating user using Rho
deCode account
2012-03-28 14:45:10.371 INFO  [rhodecode.lib.auth] user jenkins_user authenticat
ed correctly
2012-03-28 14:45:10.372 DEBUG [rhodecode.lib.auth] Auth User lookup by USER ID 5

2012-03-28 14:45:10.374 DEBUG [rhodecode.model.user] filling <User('id:5:jenkins
_user')> data
2012-03-28 14:45:10.374 DEBUG [rhodecode.lib.auth] Auth User is now <AuthUser('i
d:5:jenkins_user|False')>
2012-03-28 14:45:10.398 DEBUG [rhodecode.lib.auth] checking mercurial protocol p
ermissions set([u'repository.read']) for user:jenkins_user repository:Enesys-Dat
a-Extension/EnesysSharePointQueryDesigner
2012-03-28 14:45:10.398 DEBUG [rhodecode.lib.auth] permission granted
2012-03-28 14:45:10.400 DEBUG [rhodecode.lib.middleware.simplehg] Repository pat
h is c:\data\repositories\Enesys-Data-Extension/EnesysSharePointQueryDesigner
2012-03-28 14:45:49.144 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks
queued)
2012-03-28 14:45:49.144 DEBUG [paste.httpserver.ThreadPool] No idle workers for
task; checking if we need to make more workers
2012-03-28 14:45:49.144 INFO  [paste.httpserver.ThreadPool] No idle tasks, and o
nly 0 busy tasks; adding 5 more workers
2012-03-28 14:45:49.147 DEBUG [paste.httpserver.ThreadPool] Started new worker 2
132: Response to lack of idle workers
2012-03-28 14:45:49.148 DEBUG [paste.httpserver.ThreadPool] Started new worker 2
588: Response to lack of idle workers
2012-03-28 14:45:49.148 DEBUG [paste.httpserver.ThreadPool] Started new worker 3
776: Response to lack of idle workers
2012-03-28 14:45:49.148 DEBUG [paste.httpserver.ThreadPool] Started new worker 3
408: Response to lack of idle workers
2012-03-28 14:45:49.150 DEBUG [paste.httpserver.ThreadPool] Started new worker 3
912: Response to lack of idle workers
2012-03-28 14:45:49.151 DEBUG [rhodecode.lib.middleware.simplegit] is a git path
 None pathinfo : /
2012-03-28 14:45:49.153 DEBUG [routes.middleware] Matched GET /
2012-03-28 14:45:49.153 DEBUG [routes.middleware] Route path: '/', defaults: {'a
ction': u'index', 'controller': u'home'}
2012-03-28 14:45:49.154 DEBUG [routes.middleware] Match dict: {'action': u'index
', 'controller': u'home'}
2012-03-28 14:45:49.154 DEBUG [pylons.wsgiapp] Setting up Pylons stacked object
globals
2012-03-28 14:45:49.154 DEBUG [pylons.wsgiapp] Resolved URL to controller: u'hom
e'
2012-03-28 14:45:49.155 DEBUG [pylons.wsgiapp] Controller appears to be a class,
 instantiating
2012-03-28 14:45:49.155 DEBUG [pylons.wsgiapp] Calling controller class with WSG
I interface
2012-03-28 14:45:49.157 DEBUG [beaker.container] data file C:\venvs\rhodecode/da
ta\sessions/container_file\6\6b\6b17d772df0f44a08dcf728152f67056.cache
2012-03-28 14:47:10.766 DEBUG [paste.httpserver.ThreadPool] Added task (0 tasks
queued)
2012-03-28 14:47:10.766 INFO  [paste.httpserver.ThreadPool] Culling 21 extra wor
kers (4 idle workers present)
2012-03-28 14:47:10.767 DEBUG [paste.httpserver.ThreadPool] Idle workers: [2588,
 3776, 3408, 3912]
2012-03-28 14:47:10.769 DEBUG [paste.httpserver.ThreadPool] Worker 3912 asked to
 SHUTDOWN
2012-03-28 14:47:10.769 DEBUG [paste.httpserver.ThreadPool] Worker 2588 asked to
 SHUTDOWN
2012-03-28 14:47:10.769 DEBUG [paste.httpserver.ThreadPool] Worker 3408 asked to
 SHUTDOWN
2012-03-28 14:47:10.769 DEBUG [paste.httpserver.ThreadPool] Worker 3776 asked to
 SHUTDOWN

Marcin Kuzminski

unread,
Mar 28, 2012, 8:55:43 AM3/28/12
to rhod...@googlegroups.com
Hi,

IILS is running as reverse proxy ? did you try without IILS just on pure paster ?

Did you compare you old .ini file with the new one ?

Try out also maybe disabling threadpool.

Frederic Latour

unread,
Mar 28, 2012, 9:18:55 AM3/28/12
to rhod...@googlegroups.com
Yes, it's running IIS as a reverse proxy.
How do you get it to run on pure paster? I thought it was not available outside of the local machine in that case.
I once tried to specify the IP of the machine but it could not be accessed from any machine in the network...

Does disabling threadpool just means commenting out the associated lines?

Marcin Kuzminski

unread,
Mar 28, 2012, 9:23:00 AM3/28/12
to rhod...@googlegroups.com
you can set paster to ip 0.0.0.0 then it'll listen on all interfaces and could be accessible by IP thus bypassing IIS.
set threadpool to false, did you compare .ini files ? Unfortunetly sometimes after upgrade .ini files gets messed up... you could get the 1.2.X series from repo if you don't have it.

Frederic Latour

unread,
Mar 28, 2012, 11:30:58 AM3/28/12
to rhod...@googlegroups.com
I don't know anything about python in case you hadn't noticed...
When you say "you can set paster to IP 0.0.0.0" do you mean changing "host" setting in production.ini?
If this is what you mean, I have just tried that and it doesn't seem to make the web server available through the IP machine from an external machine.
Here is what I get when starting paster:
serving on 0.0.0.0:5500 view at http://127.0.0.1:55002 012-03-28 17:18:24.775 DEBUG [paste.httpserver.ThreadPool] Started new worker 3812: Initial worker pool

Am I missing something?

Regarding the production.ini files:
It looks that they have been some changes in the new production.ini file. I am unsure about how I could notice any problems considering the two files are different (at least some new keys).
For information I hadn't change anything in the production.ini file when I was using rhodecode 1.2.x. I just added IIS as a reverse proxy.



Downgrading?
Is there some path for downgrading to version 1.2.x without loosing repositories data?

Marcin Kuzminski

unread,
Mar 28, 2012, 8:46:31 PM3/28/12
to rhod...@googlegroups.com


On Wednesday, March 28, 2012 5:30:58 PM UTC+2, Frederic Latour wrote:
I don't know anything about python in case you hadn't noticed...
When you say "you can set paster to IP 0.0.0.0" do you mean changing "host" setting in production.ini?
If this is what you mean, I have just tried that and it doesn't seem to make the web server available through the IP machine from an external machine.
Then you're doing something wrong, maybe firewall is blocking ?
 
Here is what I get when starting paster:
serving on 0.0.0.0:5500 view at http://127.0.0.1:55002 012-03-28 17:18:24.775 DEBUG [paste.httpserver.ThreadPool] Started new worker 3812: Initial worker pool

Am I missing something?

Regarding the production.ini files:
It looks that they have been some changes in the new production.ini file. I am unsure about how I could notice any problems considering the two files are different (at least some new keys).
For information I hadn't change anything in the production.ini file when I was using rhodecode 1.2.x. I just added IIS as a reverse proxy.



Downgrading?
Is there some path for downgrading to version 1.2.x without loosing repositories data?
Not really, but AFAIR 1.2 should work with 1.3 DB schema.


Not sure if i can help, i know people are running rc with IIS without problems...
you can try using waitress instead of pasteHTTP server. Read the rhodecode docs and git support to instructions how to enable waitress.
 

Frederic Latour

unread,
Apr 1, 2012, 4:55:40 AM4/1/12
to rhod...@googlegroups.com
Hi,
I have configured Waitress instead of paster... It seemed to stand a bit longer before hanging but still hanging...

Now I'm trying to get rid of the IIS proxy but I can't seem to be able to connect outside of the server itself... There must be something that's going on here.
  • I've got Jenkins configured on this machine and I have no problem accessing it from any machine.
  • I shut down IIS, and configured production.ini with host=0.0.0.0 port=80. But still it doesn't seem to listen to outside request... Are you sure, there is not anything else to configure in that case?

Frederic Latour

unread,
Apr 1, 2012, 5:26:16 AM4/1/12
to rhod...@googlegroups.com
Could make it work without IIS Proxy... Let's see how it works and see if it hangs or not after some time...
Will keep you posted..
Reply all
Reply to author
Forward
0 new messages