Search

Rabbitmq 소켓 제한 해제

변경 방법
vi /etc/security/limits.conf #<domain> <type> <item> <value> # #* soft core 0 #* hard rss 10000 #@student hard nproc 20 #@faculty soft nproc 20 #@faculty hard nproc 50 #ftp hard nproc 0 #@student - maxlogins 4 * soft nofile 65535 * hard nofile 65535 # End of file // 두 줄 추가
Shell
복사
vi /etc/systemd/system.conf #DefaultLimitSTACK= #DefaultLimitCORE= #DefaultLimitRSS= DefaultLimitNOFILE=1048576 // 주석해제 후 1048576 값 추가 #DefaultLimitAS= #DefaultLimitNPROC=
Shell
복사
vi /etc/systemd/system/multi-user.target.wants/rabbitmq-server.service [Service] Type=notify User=rabbitmq Group=rabbitmq NotifyAccess=all TimeoutStartSec=3600 LimitNOFILE=65535 # Note: # You *may* wish to add the following to automatically restart RabbitMQ # in the event of a failure. systemd service restarts are not a
Shell
복사
재기동
systemctl daemon-reload systemctl restart rabbitmq-serve
Shell
복사