I am seeing this kind of message in the log file :

(uwsgi-tip)yml@toulouse:emperor-test$ tail -f uwsgi.log
bind(): No such file or directory [socket.c line 46]
c_ui->ui_next = 0x1a511a0
removed uwsgi instance ./vassal-sites/site2/site2.xml
*** has_emperor mode detected (fd: 7) ***
[uWSGI] parsing config file ./vassal-sites/site2/site2.xml
*** Starting uWSGI 0.9.7-dev (64bit) on [Thu Feb  3 12:38:45 2011] ***
compiled with version: 4.4.3
my PID is 7396
your memory page size is 4096 bytes
bind(): No such file or directory [socket.c line 46]
c_ui->ui_next = 0x1a50e80
removed uwsgi instance ./vassal-sites/site1/site1.xml
*** has_emperor mode detected (fd: 7) ***
[uWSGI] parsing config file ./vassal-sites/site1/site1.xml
*** Starting uWSGI 0.9.7-dev (64bit) on [Thu Feb  3 12:38:48 2011] ***
compiled with version: 4.4.3
my PID is 7409
your memory page size is 4096 bytes
bind(): No such file or directory [socket.c line 46]
c_ui->ui_next = 0x1a512e0
removed uwsgi instance ./vassal-sites/site2/site2.xml
*** has_emperor mode detected (fd: 7) ***
[uWSGI] parsing config file ./vassal-sites/site2/site2.xml
*** Starting uWSGI 0.9.7-dev (64bit) on [Thu Feb  3 12:38:51 2011] ***
compiled with version: 4.4.3
my PID is 7410
your memory page size is 4096 bytes
bind(): No such file or directory [socket.c line 46]
c_ui->ui_next = 0x1a51120
removed uwsgi instance ./vassal-sites/site1/site1.xml
*** has_emperor mode detected (fd: 7) ***
[uWSGI] parsing config file ./vassal-sites/site1/site1.xml
*** Starting uWSGI 0.9.7-dev (64bit) on [Thu Feb  3 12:38:54 2011] ***
compiled with version: 4.4.3
my PID is 7411
your memory page size is 4096 bytes
bind(): No such file or directory [socket.c line 46]
c_ui->ui_next = 0x1a50e80
removed uwsgi instance ./vassal-sites/site2/site2.xml
*** has_emperor mode detected (fd: 7) ***
[uWSGI] parsing config file ./vassal-sites/site2/site2.xml
*** Starting uWSGI 0.9.7-dev (64bit) on [Thu Feb  3 12:38:57 2011] ***
compiled with version: 4.4.3
my PID is 7412
your memory page size is 4096 bytes
bind(): No such file or directory [socket.c line 46]
c_ui->ui_next = 0x1a51360
removed uwsgi instance ./vassal-sites/site1/site1.xml
*** has_emperor mode detected (fd: 7) ***
[uWSGI] parsing config file ./vassal-sites/site1/site1.xml
*** Starting uWSGI 0.9.7-dev (64bit) on [Thu Feb  3 12:39:00 2011] ***
compiled with version: 4.4.3
my PID is 7413
your memory page size is 4096 bytes
bind(): No such file or directory [socket.c line 46]
c_ui->ui_next = 0x1a514a0
removed uwsgi instance ./vassal-sites/site2/site2.xml
*** has_emperor mode detected (fd: 7) ***
[uWSGI] parsing config file ./vassal-sites/site2/site2.xml
*** Starting uWSGI 0.9.7-dev (64bit) on [Thu Feb  3 12:39:03 2011] ***
compiled with version: 4.4.3
my PID is 7414
your memory page size is 4096 bytes
bind(): No such file or directory [socket.c line 46]
^C

I have just pushed my config here :
https://bitbucket.org/yml/uwsgi-emperor-template-configuration/src/02d5c4354b2e

The plan next is to create a vserver in cherokee called : "uwsgi-router"
This vserver will have one behavior rule type directory : "/" and use the
uwsgi handler to connect it to a remote source called "fast-router" on
127.0.0.1:3031.


For now uwsgi only return a 500.




On Thu, Feb 3, 2011 at 11:14 AM, Yann Malet <[email protected]> wrote:

> Thanks Roberto,
>  I am going to pull and give it another try.
> Congratulation for bringing this new amazing feature to the Python world I
> have the feeling that this could change the "statu quo" around python being
> a pain in the neck to deploy multiple apps.
>
> Regards,
> --yml
>
>
> On Thu, Feb 3, 2011 at 8:04 AM, Roberto De Ioris <[email protected]> wrote:
>
>>
>> >
>> >> Here it is the modification I have done :
>> >> https://bitbucket.org/yml/uwsgi-emperor-template-configuration/src
>> >>
>> >> So my plan is to have multiple virtualenv in this directory structure.
>> >> One
>> >> called "uwsgi-tip" that would be a sibling of vassal-sites, it will be
>> >> used
>> >> by the emperor/router instance.
>> >> Then I would like to have a virtualenv per vassal-sites: site1/ve,
>> >> site2/ve
>> >>
>> >>
>> >> I use this shell script call start-uwsgi.sh to start the
>> >> emperor/fastrouter
>> >> uwsgi instance.
>> >>
>> >>
>> >
>> >
>> > Hi, you need a couple of tweaks:
>> >
>> > The glob in --emperor must be enclosed in "" otherwise the shell will
>> > expand it:
>> >
>> > ../uwsgi --emperor "$BASEDIR/vassal-sites/*/*.xml"
>> >
>> > In xml config files you have to use %d to get the directory of the
>> config
>> > files
>> >
>> > site1.xml will become
>> >
>> > <uwsgi>
>> >    <home>%d/ve</home>
>> >    <chdir>%d</chdir>
>> >    <socket>/tmp/sockets/%s.sock</socket>
>> >    <module>%s</module>
>> > </uwsgi>
>> >
>> >
>>
>> Forget to say to make another pull as %d was added only some hour ago
>>
>>
>> --
>> Roberto De Ioris
>> http://unbit.it
>> _______________________________________________
>> uWSGI mailing list
>> [email protected]
>> http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
>>
>
>
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to