07-24-2007
Shared web server resources (CPU&RAM)
Hello, guys !
Long time no seen. I have a question about Linux web servers. I guess it is a more general question, but in my case it is a Linux web server. I want to know how much RAM memory should I put on my servers. Do you have some formula or guidelines on how should I calculate the amount of RAM memory needed on a web server ?
To give you an example, I have this machine:
Quote:
]# cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 75
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping : 2
cpu MHz : 2004.904
cache size : 512 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
bogomips : 4011.44
processor : 1
vendor_id : AuthenticAMD
cpu family : 15
model : 75
model name : AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
stepping : 2
cpu MHz : 2004.904
cache size : 512 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext lm 3dnowext 3dnow pni
bogomips : 4008.35
Quote:
# uname -a
Linux myserver.tld 2.6.9-42.0.10.ELsmp #1 SMP Tue Feb 27 10:11:19 EST 2007 i686 athlon i386 GNU/Linux
It has 2GB RAM. Is it enough for it's CPU's ? Or should I add some extra RAM ?
The machine has on it a web server, ftp server, mysql server and named server.
Any advices are welcomed
10 More Discussions You Might Find Interesting
1. Solaris
Hey all,
I was wondering whether anyone could give me any tips. I'm a total newcomer when it comes to Solaris and i need to dothe following:
Current System:
Solaris 7 running IPlannet 4.1:
Upgrade (Preserving current data) to:
Solaris 9 running Sun ONE Web Server 6.1
Has anyone... (0 Replies)
Discussion started by: AJD
0 Replies
2. UNIX for Dummies Questions & Answers
Hey all,
I was wondering whether anyone could give me any tips. I'm a total newcomer when it comes to Solaris and i need to dothe following:
Current System:
Solaris 7 running IPlannet 4.1:
Upgrade (Preserving current data) to:
Solaris 9 running Sun ONE Web Server 6.1
Has anyone... (1 Reply)
Discussion started by: AJD
1 Replies
3. Programming
Dear all,
I have a pro c application running in the unix environement.
This pro c program actually trigger by a java application from sun workstation.
Recently, when we released a new proc c application and notice that the application occupying the CPU resources even through we check that the... (1 Reply)
Discussion started by: ghho
1 Replies
4. AIX
Dear
How i can know the ( RAM and CPU ) on unix. we use AIX operating system.
This is for security purposes. (10 Replies)
Discussion started by: abu_hassan
10 Replies
5. Solaris
I do not know the difference between the apache-http and the apche-Tomcat.Is they are differentiated on their version or on their features.:confused: (2 Replies)
Discussion started by: jayaprakash
2 Replies
6. Solaris
Hi,
I got a solarsi 10 box with 9 zones and the cpu shares as following
ID NAME SHARES
0 global 1
1 FMW1 100
2 FMW2 100
3 OID1 100
4 OID2 100
5 OVD1 100
6 OID0 100
7 FMW5 100
8... (2 Replies)
Discussion started by: fugitive
2 Replies
7. Solaris
Hi RAM of my system is 24 GB however when i checked the processes pids and counted the memory usage by pmap i found out that the total memory usage is 36 GB
It s obvious that my system might be using some of virtual memory or swap space . How can i check which memory it is using and how ..
... (9 Replies)
Discussion started by: Paarth
9 Replies
8. SuSE
hi,
currently we have SAP application running on a solaris machine that has 8 dual core CPUs @ 2.4 GHZ and the performance of the system is perfectly normal. We plan to migrate the app to a suse linux VM image on a vmware box now. So my questions are:
1) Should i size the linux image to... (2 Replies)
Discussion started by: basisvasis
2 Replies
9. Red Hat
Hello...
We keep having a problem with the httpd freezing and users getting time outs.
I am not the Sys Admin but since I am the 1st one in, I have to restart the httpd server.
Is there a list of items I should collect before I restart in order to help with trouble shooting?
I currently... (3 Replies)
Discussion started by: djlerman
3 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I will be creating a process myself and I want to know the average CPU and RAM used by the process over the lifetime of the process. I see that there are various tools available(pidstat) for doing , I was wondering if it possible to do it in a single command while creation.
Thanks in... (3 Replies)
Discussion started by: koustubh
3 Replies
LEARN ABOUT MOJAVE
isainfo
isainfo(1) User Commands isainfo(1)
NAME
isainfo - describe instruction set architectures
SYNOPSIS
isainfo [ [-v] [-b | -n | -k] | [-x]]
DESCRIPTION
The isainfo utility is used to identify various attributes of the instruction set architectures supported on the currently running system.
Among the questions it can answer are whether 64-bit applications are supported, or whether the running kernel uses 32-bit or 64-bit device
drivers.
When invoked with no options, isainfo prints the name(s) of the native instruction sets for applications supported by the current version
of the operating system. These are a subset of the list returned by isalist(1). The subset corresponds to the basic applications environ-
ments supported by the currently running system.
OPTIONS
The following options are supported:
-b Prints the number of bits in the address space of the native instruction set.
-k Prints the name of the instruction set(s) used by the operating system kernel components such as device drivers and STREAMS mod-
ules.
-n Prints the name of the native instruction set used by portable applications supported by the current version of the operating sys-
tem.
-v When used with the- b, -k or -n options, prints more detailed information.
-x Prints instruction extensions to the native ABI which are supported by the platform.
EXAMPLES
Example 1: Invoking isainfo on a 32-bit x86 Platform
The following example invokes isainfo on a 32-bit x86 platform:
example% isainfo -v
32-bit i386 applications
example% isainfo -k
i386
Example 2: Invoking isainfo on a System Running the 64-bit Operating System on a 64-bit SPARC Processor
The following example invokes isainfo on a system running the 64-bit operating system on a 64-bit SPARC processor:
example% isainfo
sparcv9 sparc
example% isainfo -n
sparcv9
example% isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
example% isainfo -vk
64-bit sparcv9 kernel modules
Example 3: Invoking isainfo -x on an AMD Opteron CPU
The following example invokes isainfo with the -x option on an AMD Opteron CPU:
example% isainfo -x
i386: fpu tsc cx8 sep cmov mmx ammx a3dnow a3dnowx fxsr sse sse2 pause
EXIT STATUS
Non-zero Options are not specified correctly, or the command is unable to recognize attributes of the system on which it is running.
An error message is printed to stderr.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
isalist(1), uname(1), psrinfo(1M), sysinfo(2), attributes(5), isalist(5)
SunOS 5.10 20 Jul 2004 isainfo(1)