|
|
|
|
|
by paulddraper
3067 days ago
|
|
> Each Gitaly server instance was fork/exec'ing Git processes about 20 times per second > What's really wrong here is that they're apparently spawning processes like crazy. Sounds like it depends on the use-case, rather then blanket "two dozen processes per second is clearly absurd". |
|
However, the problem in the posted article was indeed that spawning Git processes 20 times a second in that specific Go application was too much, and the fix was that Go replaced fork(2) with posix_spawn(3).