public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
Add more trace points to SpawnManager.
Hongli Lai (Phusion) (author)
Sat Oct 04 17:12:07 -0700 2008
commit  04947afa045e105baa383940d55a71ec2791fc77
tree    5e89fa94e90b822291fd8bb5074973a9d85deedb
parent  7afa51ad1bc9c6215001390ff63f81611413fa14
...
266
267
268
 
269
270
271
...
293
294
295
 
296
297
298
...
306
307
308
 
309
310
311
...
313
314
315
 
316
317
318
...
266
267
268
269
270
271
272
...
294
295
296
297
298
299
300
...
308
309
310
311
312
313
314
...
316
317
318
319
320
321
322
0
@@ -266,6 +266,7 @@ private:
0
     }
0
     
0
     try {
0
+ UPDATE_TRACE_POINT();
0
       // Read status.
0
       if (!channel.read(args)) {
0
         throw SpawnException("The spawn server has exited unexpectedly.");
0
@@ -293,6 +294,7 @@ private:
0
       throw SpawnException(string("Could not read from the spawn server: ") + e.sys());
0
     }
0
     
0
+ UPDATE_TRACE_POINT();
0
     try {
0
       ownerPipe = channel.readFileDescriptor();
0
     } catch (const SystemException &e) {
0
@@ -306,6 +308,7 @@ private:
0
     }
0
     
0
     if (args.size() != 3) {
0
+ UPDATE_TRACE_POINT();
0
       syscalls::close(ownerPipe);
0
       throw SpawnException("The spawn server sent an invalid message.");
0
     }
0
@@ -313,6 +316,7 @@ private:
0
     pid_t pid = atoi(args[0]);
0
     bool usingAbstractNamespace = args[2] == "true";
0
     
0
+ UPDATE_TRACE_POINT();
0
     if (!usingAbstractNamespace) {
0
       int ret;
0
       do {

Comments

    No one has commented yet.