Database Reference
In-Depth Information
Disk performance
AWS users often find
Elastic Block Storage
(
EBS
) lucrative to use from the performance
and reliability points of view. Unfortunately, it is a bad idea to use it.
It slows down the disk I/O speed. It can cause slow reads and writes. If you are using EBS,
try comparing it with the instance store (ephemeral storage) with the RAID 0 setup.
If you see
Too many open files
or any other resource-related issue, the first thing to
check is
ulimit -a
to see all available system resources. You can edit this setting by
editing
/etc/security/limits.conf
and setting it to the following recommended
setting:
* soft nofile 32768
* hard nofile 32768
root soft nofile 32768
root hard nofile 32768
* soft memlock unlimited
* hard memlock unlimited
root soft memlock unlimited
root hard memlock unlimited
* soft as unlimited
* hard as unlimited
root soft as unlimited
root hard as unlimited