1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- listen 0.0.0.0:16969 512; //backlog=512
- listen 0.0.0.0:23456;
- threads 4;
- //bindings sections embedded in vhost sections are processed
- //before bindings in the global scope
- ipcbuffersize 16777216;
- vhost vh1 {
- bindings {
- {
- listen 0.0.0.0:16969;
- httppath /asdf;
- }
- }
- exec /home/xaxaxa/workspace/test/socketd_test $(uname -a);
- shell 1;
- preload 0;
- //at runtime, the # of processes will be rounded up to the nearest multiple
- //of the # of socketd threads, so the actual processes started will be 4
- processes 1;
- authcookie ghsdfjkgh;
- ipcbuffersize 16777216;
- }
- vhost vh2 {
- exec exec lighttpd -D -f /home/xaxaxa/workspace/test/lighttpd.conf;
- shell 1;
- preload 1;
- }
- vhost vh3 {
- bindings {
- {httppath /cppsp;}
- }
- // exec exec valgrind --leak-check=full socketd_cppsp -r /home/xaxaxa/workspace/test/ -c -I../include/ -c -L../lib/ -c -fPIC -c -g3;
- exec exec socketd_cppsp -r /home/xaxaxa/workspace/test/ -c -I../include/ -c -L../lib/ -c -fPIC -c -g3;
- // exec exec sleep 6000
- shell 1;
- preload 0;
- processes 2;
- }
- binding vh1 {
- httppath /test;
- }
- binding vh2 {
- httppath /sss;
- }
|