modern-web-design-and-development

(Brent) #1

Permanent Fix


Clearing out back-ups, old websites and log files will free up a lot of space.
Yo u s h o u l d a l s o i d e n t i f y a n y s c r i p t s a n d p ro g r a m s t h a t a re c re a t i n g l a rg e
back-up files. You could ask your host for another hard drive.


7. Has It Run Out Of Memory?


Yo u r s e r ve r m i g h t j u s t b e r u n n i n g re a l l y, really slowly. The free command
will let you know how much memory it is using. Add -m to show the results
in megabytes.


admin@server$ free -m

The results will show how much of your memory is in use.


Checking memory usage on a Linux server.


The results above say that the server has 3550 MB, or 3.5 GB, of total
memory. Linux likes to use as much as possible, so the 67 MB free is not a
problem. Focus on the buffers/cache line instead. If most of this is used,

Free download pdf