- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- SLES 10 using 400 MB swap continuously - why ?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2008 07:59 PM
тАО07-13-2008 07:59 PM
DB: Oracle 10g R2
ERP: SAP
no performance issue, machine and the services response are fine, but this machine is continuously using swap. why .. from the output of "free -m" its clear that almost 5.5GB of physical memory is available as cached? then why system is using swap(almost 400 MB).
please find the attached file
Regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2008 08:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2008 11:53 PM
тАО07-13-2008 11:53 PM
Re: SLES 10 using 400 MB swap continuously - why ?
I have two other SLES 10 SP2 boxes with 4 GB of physical memory runnig MySQL(5.x)... and under full load/peak times ... I have never found swap usage beyond 40 MB on those machines.
and one more thing .. when the those(MySQL) system uses swap, I found little or no memory left as "cached" and/or "free" in the output of "free -m"... and this makes sense.. i.e when no physical memory is available(either as cache and or free) then system starts swaping.
but these (SLES 10 SP2 x86_64+Oracle 10g R2+SAP) boxes are doing swap, even when there is lots of physical memory(5 GB cached) available
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2008 12:36 AM
тАО07-14-2008 12:36 AM
Re: SLES 10 using 400 MB swap continuously - why ?
i had mentioned it earlier. The swap memory is depend upon your application design, requirement or greedyness.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2008 08:49 PM
тАО07-20-2008 08:49 PM
Re: SLES 10 using 400 MB swap continuously - why ?
I think you are right, because I also tried the following but the situation remained the same.
# cat /proc/sys/vm/swappiness
60
# echo 40 > /proc/sys/vm/swappiness
# cat /proc/sys/vm/swappiness
40
as this is a production server thats why i didnt reboot the machine after reducing the swappiness.
you know more interesting is that now the swap has reached 720 MB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2008 09:15 PM
тАО07-20-2008 09:15 PM
Re: SLES 10 using 400 MB swap continuously - why ?
this will refresh the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 09:01 PM
тАО07-21-2008 09:01 PM
Re: SLES 10 using 400 MB swap continuously - why ?
>you can assure a downtime atleast in a month to clear up buffers/swap and >reset this server.
>this will refresh the system.
Don't you think that Linux is smart enough that no reboot is required even after running 5 months ?
I think this is MS Windows that requires a reboot(in a month) to clear up buffers/swap and reset the server.
Anyhow thanks a lot for the help/feedback.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2008 09:50 PM
тАО07-21-2008 09:50 PM
Re: SLES 10 using 400 MB swap continuously - why ?
Things are like that, I have seen in my experience like this kind of applications, which uses much resource. But after reboot it performs very well.
The reason behind is more or less depend to poor coding of applications or processes.