Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-10 | s3-printing: make sure to block SIGHUP ... | Simo Sorce | 1 | -4/+20 | |
... until we are ready to handle it. Also make us ready as early as possible in spoolssd. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-spoolss: Use a global variable for the pool | Simo Sorce | 1 | -60/+31 | |
This allows for setting up signal handlers earlier which is needed for the following patch. It also simplify the code in a few places. After all we never have more than pool active at any time during spoolssd life span. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-printing: Allow bq process to have own logfile | Simo Sorce | 1 | -23/+40 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-spoolssd: Use the child_id to open log files | Simo Sorce | 1 | -15/+43 | |
This way each child has its own log file and avoid mixing all logs form all children in the same parent log file. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-prefork: Pass the child a child_id | Simo Sorce | 1 | -0/+1 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-prefork: Return tsocket_address for client and server | Simo Sorce | 1 | -7/+5 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-prefork: Pass messaging context around too | Simo Sorce | 1 | -15/+42 | |
Pair-Programmed-With: Andreas Schneider <asn@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-prefork: Set up a SIGCHLD handler by default | Simo Sorce | 1 | -39/+14 | |
We need to properly handle preforked children so it is better to just do that automatically. If the parent needs/wants to intercept SIGCHLD events it can set a callback that will be called by the prefork code once the internal cleanup function that checks all prefork children has been executed. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3:spoolssd Start spoolssd from printing_subsystem_init | Simo Sorce | 1 | -17/+48 | |
Use a child for the background updater process Forward printer update messages from spoolss to background update process. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-printing: Rework how the background process is started | Simo Sorce | 1 | -0/+4 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-prefork: Provide a cleanup function | Simo Sorce | 1 | -11/+4 | |
This way the parent doesn't need to know how to handle dead children and keeps all of that within the prefork abstraction. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-prefork: add support for multiple listning file descriptors | Simo Sorce | 1 | -5/+11 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-spoolssd: propagate SIGHUP to children | Simo Sorce | 1 | -11/+34 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-spoolssd: expand children pool when necessary | Simo Sorce | 1 | -7/+34 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-spoolssd: Use parametric option for prefork parameters | Simo Sorce | 1 | -12/+48 | |
example: spoolssd:prefork = 10:100:5 will configure spoolssd to start with a minimum of 10 preforked children, a max set to 100 children and spawns/retires 5 children at a time when ramping up/scaling down. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-spoolss: make listening asynchronous | Simo Sorce | 1 | -26/+60 | |
This also allows to make each children serve more than one client at the same time if necessary. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-10 | s3-spoolssd: Use the prefork framework in spoolssd | Simo Sorce | 1 | -3/+425 | |
This should make it more scalable and able to handle easily multiple clients at the same time. Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-08-01 | s3-rpc_server: Use binding vector in rpc_ep_try_register(). | Andreas Schneider | 1 | -2/+22 | |
2011-08-01 | s3-rpc_server: Move the endpoint registration to own file. | Andreas Schneider | 1 | -2/+2 | |
2011-07-18 | s3-rpc_server: Fixed segfaults in rpc daemons. | Andreas Schneider | 1 | -1/+1 | |
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Mon Jul 18 14:01:02 CEST 2011 on sn-devel-104 | |||||
2011-07-01 | s3-printing: split out printing migration code into a smaller library. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2011-05-05 | s3-printing: run minimal_includes.pl. | Günther Deschner | 1 | -2/+0 | |
Guenther | |||||
2011-05-02 | s3: include ntdomain.h before including generated srv_ headers. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-02 | s3-proto: move remaining spoolss protos to own header file. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-02 | s3-proto: move rpc_srv_register protos and structs to town headerfile. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-messages: make ndr_messaging.h part of messages.h. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2011-03-30 | s3-messages: only include messages.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-locking: move locking prototypes out of proto.h. | Günther Deschner | 1 | -0/+1 | |
Will later become part of locking.h Guenther | |||||
2011-03-30 | s3: printing needs parts of smbd. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-29 | s3-spoolssd: Register spoolssd endpoints. | Andreas Schneider | 1 | -0/+8 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-03-29 | s3-spoolssd: Fixed logfile creation. | Andreas Schneider | 1 | -2/+11 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-03-29 | s3-spoolssd: Added missing include. | Andreas Schneider | 1 | -0/+2 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-03-29 | s3-spoolssd: Pass down event and messanging context. | Andreas Schneider | 1 | -20/+42 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-03-29 | s3-spoolssd: Fixed reopening of logs. | Andreas Schneider | 1 | -8/+10 | |
Everytime the log was reopened a .spoolssd has been appended which resulted in long file names. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-03-29 | s3:spoolssd Initialize the spoolss rpc interfaces | Simo Sorce | 1 | -0/+33 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-03-29 | s3:spoolssd Add spoolss own signal handlers | Simo Sorce | 1 | -2/+53 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-03-29 | s3:spoolssd handle smb.conf reloads directly | Simo Sorce | 1 | -0/+14 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-03-29 | s3:spoolssd Create our own log file | Simo Sorce | 1 | -0/+18 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-03-29 | s3:spoolssd Add skeleton for spoolss daemon | Simo Sorce | 1 | -0/+83 | |
Signed-off-by: Günther Deschner <gd@samba.org> |