Skip to content

Commit

Permalink
increase file descriptor limit for source-backends
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Dec 13, 2014
1 parent 4baa94c commit fd69038
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dcs-source-backend.service
Expand Up @@ -5,6 +5,9 @@ Description=Debian Code Search: source backend
After=postgresql.service

[Service]
# Increase the maximum number of file descriptors since each query uses up to
# 1000 goroutines, and each of these inherits file descriptors.
LimitNOFILE=16384
ExecStart=/usr/bin/dcs-source-backend -unpacked_path=/dcs-ssd/unpacked/

[Install]
Expand Down

0 comments on commit fd69038

Please sign in to comment.