Guys, does anyone has the subj. working?
On my setup it starts refreshing all the time with new wt ID in URL.
Reproduced in 2.1.5 and 2.2.3
OS: FreeBSD 7.1
fcgi setup in apache:
FastCgiServer
/usr/local/www/manager.fcgi
FastCgiConfig -restart
With 1 shared process issue is not observed.
Here's what I see with 10 processes:
[2009-May-05 13:06:01.447361] 12245 - [notice] "Wt: initializing FastCGI
session process manager"
[2009-May-05 13:06:01.447919] 12245 - [notice] "Reading Wt config file:
/usr/local/etc/wt_config.xml (location = '/usr/local/www/manager.fcgi')"
[2009-May-05 13:06:01.448864] 12245 - [notice] "Spawned session process:
pid = 12251"
[2009-May-05 13:06:01.449585] 12245 - [notice] "Spawned session process:
pid = 12252"
[2009-May-05 13:06:01.450168] 12245 - [notice] "Spawned session process:
pid = 12253"
[2009-May-05 13:06:01.450766] 12245 - [notice] "Spawned session process:
pid = 12254"
[2009-May-05 13:06:01.451524] 12245 - [notice] "Spawned session process:
pid = 12255"
[2009-May-05 13:06:01.452151] 12245 - [notice] "Spawned session process:
pid = 12256"
[2009-May-05 13:06:01.456734] 12245 - [notice] "Spawned session process:
pid = 12257"
[2009-May-05 13:06:01.457377] 12245 - [notice] "Spawned session process:
pid = 12258"
[2009-May-05 13:06:01.457952] 12245 - [notice] "Spawned session process:
pid = 12259"
[2009-May-05 13:06:01.458528] 12245 - [notice] "Spawned session process:
pid = 12260"
[2009-May-05 13:06:01.576950] 12255 - [notice] "Wt: initializing session
process"
[2009-May-05 13:06:01.577424] 12255 - [notice] "Reading Wt config file:
/usr/local/etc/wt_config.xml (location = '/usr/local/www/manager.fcgi')"
[2009-May-05 13:06:01.618350] 12259 - [notice] "Wt: initializing session
process"
[2009-May-05 13:06:01.632057] 12259 - [notice] "Reading Wt config file:
/usr/local/etc/wt_config.xml (location = '/usr/local/www/manager.fcgi')"
[2009-May-05 13:06:01.624419] 12252 - [notice] "Wt: initializing session
process"
[2009-May-05 13:06:01.632311] 12252 - [notice] "Reading Wt config file:
/usr/local/etc/wt_config.xml (location = '/usr/local/www/manager.fcgi')"
[2009-May-05 13:06:01.632450] 12259 - [fatal] "socket(): Address already
in use"
[2009-May-05 13:06:01.632598] 12252 - [fatal] "socket(): Address already
in use"
[2009-May-05 13:06:01.635127] 12257 - [notice] "Wt: initializing session
process"
[2009-May-05 13:06:01.635599] 12257 - [notice] "Reading Wt config file:
/usr/local/etc/wt_config.xml (location = '/usr/local/www/manager.fcgi')"
[2009-May-05 13:06:01.635941] 12257 - [fatal] "socket(): Address already
in use"
[2009-May-05 13:06:01.651576] 12251 - [notice] "Wt: initializing session
process"
[2009-May-05 13:06:01.652052] 12251 - [notice] "Reading Wt config file:
/usr/local/etc/wt_config.xml (location = '/usr/local/www/manager.fcgi')"
Then I investigated sources and saw that log output doesn't correspond
to what is actually done (see patch wrong_debug_msg.diff attached).
After application of patch it's seen that problem happens on bind()
invocation,
How can it be that bind() fails? It seems there are some race conditions....
--
Andrii Arsirii
Streamco
http://streamco.org.ua
Index: Server.C
===================================================================
--- Server.C (revision 2812)
+++ Server.C (working copy)
@@ -647,7 +647,7 @@
socklen_t len = strlen(local.sun_path) + sizeof(local.sun_family);
if (bind(s, (struct sockaddr *)& local, len) == -1) {
- conf.log("fatal") << "socket(): " << strerror(errno);
+ conf.log("fatal") << "bind(): " << strerror(errno);
exit(1);
}
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest