Bug 772481

Summary: Low number of open files for squid process
Product: [Fedora] Fedora Reporter: Jan ONDREJ <ondrejj>
Component: squidAssignee: Jiri Skala <jskala>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 16CC: aglotov, henrik, jonathansteffan, jskala
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-16 09:27:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jan ONDREJ 2012-01-08 18:55:31 UTC
Description of problem:
Running squid with large cache_dir is problematic due to small limit of open files. Please increase LimitNOFILE in default systemd.service file.

Version-Release number of selected component (if applicable):
squid-3.2.0.14-1.fc16.i686

How reproducible:
always

Actual results:
error opening files

Additional info:
This fixed my problems:

[Service]                                                                       
Type=forking                                                                    
LimitNOFILE=16384                                                               

There are also other services in fedora, which changes default ulimits. I think squid is one of most file opening process.