April 2017
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

Categories

April 2017
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

Nginx for serving files bigger than 1GB

ealize that nginx was not serving files larger than 1GB. After investigation I found that it was due to the proxy_max_temp_file_size variable, that is configured by default to serve up to 1024 MB max.

This variable indicates the max size of a temporary file when the data served is bigger than the proxy buffer. If […]

find large files on Linux

Find large files on Fedora / CentOS / RHEL

Search for big files (50MB or more) on your current directory:

find ./ -type f -size +50000k -exec ls -lh {} ; | awk ‘{ print $9 “: ” $5 }’

Output:

[root@my.server.com:~]pwd /home [root@my.server.com:~]find . -type f -size +50000k -exec ls -lh {} ; | […]

Creating a partition size larger than 2TB on Linux

I had to mount and use a 3TB SATA HD on Linux, and as I thought, I wasn’t going to be able to format and create a new partition using fdisk command.

fdisk tool won’t create partitions larger than 2 TB. This is fine for desktop users, but on a production server you may need […]