Solaris 10 - Restrict memory usage
Bonjour,
I use Solaris 10 Release 6/06 on SPARC system.
I need to restrict the memory usage for users.
Unfortunately, for the moment, we can't increase the amount of RAM.
So, in a first time, I decided to use projects and max-shm-memory. But, this is only for shared memory segment, not real memory usage.
rcapd use SWAP instead of RAM ... it not solve my issue.
How can limit memory usage of an user ? It's possible of Solaris 10 (without zones) ?
Thx.
Guillaume
does ulimit help you? this applies to the shell rather than a user...
[ulimit (1)|http://docs.sun.com/app/docs/doc/816-5165/ulimit-1?l=en&a=view&q=ulimit]
Similar Messages
-
Solaris 10 Kernel memory usage
We have a 32 GB RAM server running about 14 zones. There are multiple databases, application servers, web servers, and ftp servers running in the various zones.
I understand that using ZFS will increase kernel memory usage, however I am a bit concerned at this point.
root@servername:~/zonecfg #mdb -k
Loading modules: [ unix krtld genunix specfs dtrace uppc pcplusmp ufs md mpt ip indmux ptm nfs ]
::memstat
Page Summary Pages MB %Tot
Kernel 4108442 16048 49%
Anon 3769634 14725 45%
Exec and libs 9098 35 0%
Page cache 29612 115 0%
Free (cachelist) 99437 388 1%
Free (freelist) 369040 1441 4%
Total 8385263 32754
Physical 8176401 31939
Out of 32GB of RAM, 16GB is being used by the kernel. Is there a way to find out how much of that kernel memory is due to ZFS?
It just seems an excessively high amount of our memory is going to the kernel, even with ZFS being used on the server.root@servername:~ #mdb -k
Loading modules: [ unix krtld genunix specfs dtrace uppc pcplusmp ufs md mpt ip hook neti sctp arp usba uhci fcp fctl qlc nca lofs zfs random fcip crypto logindmux ptm nfs ]
::memstat
Page Summary Pages MB %Tot
Kernel 4314678 16854 51%
Anon 3538066 13820 42%
Exec and libs 9249 36 0%
Page cache 29347 114 0%
Free (cachelist) 89647 350 1%
Free (freelist) 404276 1579 5%
Total 8385263 32754
Physical 8176401 31939
:quit
root@servername:~ #kstat -m zfs
module: zfs instance: 0
name: arcstats class: misc
c 12451650535
c_max 33272295424
c_min 1073313664
crtime 175.759605187
deleted 26773228
demand_data_hits 89284658
demand_data_misses 1995438
demand_metadata_hits 1139759543
demand_metadata_misses 5671445
evict_skip 5105167
hash_chain_max 15
hash_chains 296214
hash_collisions 75773190
hash_elements 995458
hash_elements_max 1576353
hits 1552496231
mfu_ghost_hits 4321964
mfu_hits 1263340670
misses 11984648
mru_ghost_hits 474500
mru_hits 57043004
mutex_miss 106728
p 9304845931
prefetch_data_hits 10792085
prefetch_data_misses 3571943
prefetch_metadata_hits 312659945
prefetch_metadata_misses 745822
recycle_miss 2775287
size 12451397120
snaptime 2410363.20494097
So it looks like our kernel is using 16GB and ZFS is using ~12GB for it's arc cache. Is a 4GB kernel for other stuff normal? It still seems like a lot of memory to me, but I don't know how all the zones affect the amount of memory the kernel needs. -
Hi!
I have Sun Fire 240 with 2Gb of RAM, running two Oracle database instances. Total SGA for these databases are 1.2Gb, PGA consumed at the time of performance degradation (see below) is about 200Mb. Several minutes after successfull startup, OS starts paging at a very high rate (vmstat 1 's pi/po is about several thousands).
# mdb -k
Loading modules: [ unix krtld genunix md ip usba nfs random ipc lofs ptm ]
::memstatPage Summary Pages MB %Tot
Kernel 86992 679 35%
Anon 158841 1240 64%
Exec and libs 1887 14 1%
Page cache 42 0 0%
Free (cachelist) 1631 12 1%
Free (freelist) 90 0 0%
Total 249483 1949For what purpose does kernel allocate 680Mb of memory? Are there any formula to calculate kernel memory requirements?Issue fixed. Kernel memory consumption caused by too much outgoing TCP connection. See http://forum.sun.com/thread.jspa?threadID=26311&tstart=0
-
Shared memory: apache memory usage in solaris 10
Hi people, I have setup a project for the apache userID and set the new equivalent of shmmax for the user via projadd. In apache I crank up StartServers to 100 but the RAM is soon exhausted - apache appears not to use shared memory under solaris 10. Under the same version of apache in solaris 9 I can fire up 100 apache startservers with little RAM usage. Any ideas what can cause this / what else I need to do? Thanks!
a) How or why does solaris choose to share memory
between processes
from the same program invoked multiple times
if that program has not
been specifically coded to use shared memory?Take a look at 'pmap -x' output for a process.
Basically it depend on where the memory comes from. If it's a page loaded from disk (executable, shared library) then the page begins life shared among all programs using the same page. So a small program with lots of shared libraries mapped may have a large memory footprint but have most of it shared.
If the page is written to, then a new copy is created that is no longer shared. If the program requests memory (malloc()), then the heap is grown and it gathers more private (non-shared) page mappings.
Simply: if we run pmap / ipcs we can see a
shared memory reference
for our oracle database and ldap server. There
is no entry for apache.
But the total memory usage is far far less than
all the apache procs'
individual memory totted up (all 100 of them, in
prstat.) So there is
some hidden sharing going on somewhere that
solaris(2.9) is doing,
but not showing in pmap or ipcs. (virtually
no swap is being used.)pmap -x should be showing you exactly which pages are shared and which are not.
b) Under solaris 10, each apache process takes up
precisely the
memory reported in prstat - add up the 100
apache memory details
and you get the total RAM in use. crank up the
number of procs any
more and you get out of memory errors so it
looks like prstat is
pretty good here. The question is - why on
solaris10 is apache not
'shared' but it is on solaris 9? We set up
all the usual project details
for this user, (jn /etc/projects) but I'm
guessing now that these project
tweaks where you explicitly set the shared
memory for a user only take
effect for programs explicitly coded to use
shared memory , e.g. the
oracle database, which correctly shows up a
shared memory reference
in ipcs .
We can fire up thousands of apaches on the 2.9
system without
running out of memory - both machines have the
same ram !
But the binary versions of apache are exactly
the same, and
the config directives are identical.
please tell me that there is something really
simple we have missed!On Solaris 10, do all the pages for one of the apache processes appear private? That would be really, really unusual.
Darren -
Solaris process memory usage increase but not forever
On Solaris 10 I have a multithreaded process with a strange behaviour. It manages complicated C++ structures (RWTVal or RWPtr). These structures are built from data stored in a database (using Pro*C). Each hour the process looks for new informacion in database, builds new structures on memory and it frees older data. But, each time it repeats this procedure, the process memory usage increases several MB (12/16MB). Process's memory usage starts from 100M until near 1,4G. Just to this point, it seems the process has memory leaks. But the strange behaviour is that after this point, the process stops to continue growing up anymore. When I try to look for memory leaks (using Purify tool) the process doesn't grow up and no significant leaks were showed. Did anyone found a similar behaviour or can explain what could be happening?
markza wrote:
Hi, thanks for responding
Ja, i guess thats possible, but to do it all one row by row seems ridiculous, and it'll be so time consuming and sluggish surely. I mean, for a months worth of data (which is realistic) thats 44640 individual queries. If push comes to shove, then I'll have to try that for sure.
You can see by the example that I'm saving it to a text file, in csv format. So it needs to be a string array, a cluster won't be of much help I dont think.
The only other way I can think of is to break it up into more manageable chunks...maybe pull each column separately in a for loop and build up a 2D array like that until the spreadsheet storing.
You only do 1 query, but instead of Fetching All (as the Select does) you'll use the cursor to step through the data.
You can use Format to String or Write Spreadsheet fire with doubles.
You can break it down to get the data day by day instead of a full month at once.
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV -
Is there a tool like McDougal's prtmem that will show accruate (or more accruate) memory usage then vmstat's freemem will show?
tzzhc4 wrote:
prtmem was part of the MEMTOOLS package you just listed, I belive it relies on a kernel module in that package and doesn't work on any of the newer kernel revisions.But it certainly works on 8, right? And that's the OS you were referring to, so I assumed you were thinking of something else.
From that page:
System Requirements: SPARC/Solaris 2.6
SPARC/Solaris 7
SPARC/Solaris 8
SPARC/Solaris 9
x86 /Solaris 8
x86 /Solaris 9
So if that's what you want to use, go for it!
I thought freemem didn't include pages that had an identity, so there could be more memory free then was actually listed in freemem.What do you mean by 'identity'? Most pages are either allocated/reserved by a process (in use) or used by the disk cache. Under Solaris 7 and earlier, both reduced the 'freemem' number. Under 8 and later, only the first one does.
Darren -
Very high memory usage..possible memory leak? Solaris 10 8/07 x64
Hi,
I noticed yesterday that my machine was becoming increasingly slow, where once it was pretty snappy. It's a Compaq SR5250NX with 1GB of RAM. Upon checking vmstat, I noticed that the "Free" column was ~191MB. Now, the only applications I had open were FireFox 2.0.11, GAIM, and StarOffice. I closed all of them, and the number reported in the "Free" column became approximately 195MB. "Pagefile" was about 5.5x that size. There were no other applications running and it's a single user machine, so I was the only one logged in. System uptime: 9 days.
I logged out, logged back in, to see if that had an affect. It did not. Rebooted and obviously, that fixed it. Now with only FireFox, GAIM, and a terminal open, vmstat reports "Free" as ~450MB. I've noticed if I run vmstat every few seconds, the "Free" total keeps going down. Example:
unknown% vmstat
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr cd s0 s1 s2 in sy cs us sy id
0 0 0 870888 450220 9 27 10 0 1 0 8 2 -0 -0 -0 595 1193 569 72 1 28
unknown% vmstat
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr cd s0 s1 s2 in sy cs us sy id
0 0 0 870880 450204 9 27 10 0 1 0 8 2 -0 -0 -0 596 1193 569 72 1 28
unknown% vmstat
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr cd s0 s1 s2 in sy cs us sy id
0 0 0 870828 450092 9 27 10 0 1 0 8 2 -0 -0 -0 596 1193 570 71 1 28
unknown%Output of prstat -u Kendall (my username ) is as follows:
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
2026 Kendall 124M 70M sleep 59 0 0:01:47 1.4% firefox-bin/7
1093 Kendall 85M 77M sleep 59 0 0:07:15 1.1% Xsun/1
1802 Kendall 60M 15M sleep 59 0 0:00:08 0.1% gnome-terminal/2
1301 Kendall 93M 23M sleep 49 0 0:00:30 0.1% java/14
1259 Kendall 53M 15M sleep 49 0 0:00:32 0.1% gaim/1
2133 Kendall 3312K 2740K cpu1 59 0 0:00:00 0.0% prstat/1
1276 Kendall 51M 12M sleep 59 0 0:00:11 0.0% gnome-netstatus/1
1247 Kendall 46M 10M sleep 59 0 0:00:06 0.0% metacity/1
1274 Kendall 51M 13M sleep 59 0 0:00:05 0.0% wnck-applet/1
1249 Kendall 56M 17M sleep 59 0 0:00:07 0.0% gnome-panel/1
1278 Kendall 48M 9240K sleep 59 0 0:00:05 0.0% mixer_applet2/1
1245 Kendall 9092K 3844K sleep 59 0 0:00:00 0.0% gnome-smproxy/1
1227 Kendall 8244K 4444K sleep 59 0 0:00:01 0.0% xscreensaver/1
1201 Kendall 4252K 1664K sleep 59 0 0:00:00 0.0% sdt_shell/1
1217 Kendall 55M 16M sleep 59 0 0:00:00 0.0% gnome-session/1
779 Kendall 47M 2208K sleep 59 0 0:00:00 0.0% gnome-volcheck/1
746 Kendall 5660K 3660K sleep 59 0 0:00:00 0.0% bonobo-activati/1
1270 Kendall 49M 10M sleep 49 0 0:00:00 0.0% clock-applet/1
1280 Kendall 47M 8904K sleep 59 0 0:00:00 0.0% notification-ar/1
1199 Kendall 2928K 884K sleep 59 0 0:00:00 0.0% dsdm/1
1262 Kendall 47M 2268K sleep 59 0 0:00:00 0.0% gnome-volcheck/1
Total: 37 processes, 62 lwps, load averages: 0.11, 0.98, 1.63System uptime is 9 hours, 48 minutes. I'm just wondering why the memory usage seems so high to do...nothing. It's obviously a real problem as the machine turned very slow when vmstat was showing 195MB free.
Any tips, tricks, advice, on which way to go with this?
Thanks!Apologies for the delayed reply. School has been keeping me nice and busy.
Anyway, here is the output of prstat -Z:
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
2040 Kendall 144M 76M sleep 59 0 0:04:26 2.0% firefox-bin/10
28809 Kendall 201M 193M sleep 59 0 0:42:30 1.9% Xsun/1
2083 Kendall 186M 89M sleep 49 0 0:02:31 1.2% java/58
2260 Kendall 59M 14M sleep 59 0 0:00:00 1.0% gnome-terminal/2
2050 Kendall 63M 21M sleep 49 0 0:01:35 0.6% realplay.bin/4
2265 Kendall 3344K 2780K cpu1 59 0 0:00:00 0.2% prstat/1
29513 Kendall 71M 33M sleep 39 0 0:07:25 0.2% gaim/1
28967 Kendall 56M 18M sleep 59 0 0:00:24 0.1% gnome-panel/1
29060 Kendall 93M 24M sleep 49 0 0:02:58 0.1% java/14
28994 Kendall 51M 13M sleep 59 0 0:00:23 0.1% wnck-applet/1
28965 Kendall 49M 14M sleep 59 0 0:00:33 0.0% metacity/1
649 noaccess 164M 46M sleep 59 0 0:09:54 0.0% java/23
28996 Kendall 51M 12M sleep 59 0 0:00:50 0.0% gnome-netstatus/1
2264 Kendall 1352K 972K sleep 59 0 0:00:00 0.0% csh/1
28963 Kendall 9100K 3792K sleep 59 0 0:00:03 0.0% gnome-smproxy/1
ZONEID NPROC SWAP RSS MEMORY TIME CPU ZONE
0 80 655M 738M 73% 1:18:40 7.7% global
Total: 80 processes, 322 lwps, load averages: 0.27, 0.27, 0.22Sorry about the bad formatting, it's copied from the terminal.
In any event, we can see that FireFox is sucking up 145MB (??!?!!? crazy...) XSun, 200MB, and java 190MB. I'm running Java Desktop System (Release 3) so I assume that is what accounts for the the high memory usage RE: java process. But, XSun, 200MB?
Is this normal and I just need to toss another gig in, or what?
Thanks -
Network stream fxp excess memory usage and poor performance
I'm trying to stream some datas à highspeed rate (3 channels à 1Mbytes/s) from my 9030 to my windows host. Because i don't need to use data on the rt side, i choose to forward FXP <+-,24,5> to my host throug a network stream.
To avoid data loose i choose to use a wide buffer of 6000000 with this buffer my memory usage grow from 441mo to 672Mo and my rio is unable to stream the data.
With sgl or double, memory usage is 441 to 491Mo and datas can be streamed continusly.
Anyone have encoutered this problem?SQL Developer is java based and relies on the jvm's memory management.
I'm not aware of any memory leaks as such, but memory tends not to be returned to the system.
Queries which return large return sets tend to use a lot of memory (SQL Developer has to build a java table containing all the results for display).
You can restrict the maximum memory allocated by modifying settings in in <sqldeveloper>\ide\bin\ide.conf
The defaults are -
AddVMOption -Xmx640M
AddVMOption -Xms128M -
OS X Yosemite Safari memory usage
Safari's memory usage under Yosemite continues to increase until system stalls due to paging. The memory gets to about 60G before the stall. Also, the process SafariDAVclient exhibits the same behavior. This started after I reinstalled Yosemite. Reinstalled again, no better.
Anyone have a solution?
IMAC
12G 1333 MHz DDR3
Inter Core I5Start time: 18:40:57 12/14/14
Model Identifier: iMac12,2
System Version: OS X 10.10.1 (14B25)
Kernel Version: Darwin 14.0.0
Time since boot: 5 minutes
SATA
ST31000528AS
USB
UC-10KM V1.3.124 (ATEN International Co. Ltd.)
IEEE-1284 Controller (Prolific Technology, Inc.)
Diagnostic reports
2014-12-08 Norton AntiVirus crash
2014-12-08 Norton Internet Security crash
Shutdowns
Dec 12 15:34:53 Previous shutdown cause: -62
Dec 12 16:34:52 Previous shutdown cause: -62
Dec 13 02:40:04 Previous shutdown cause: -62
Dec 13 11:35:09 Previous shutdown cause: -62
Dec 14 18:36:37 Previous shutdown cause: -62
Log
Dec 14 05:36:19 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
Dec 14 05:38:34 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
Dec 14 07:36:20 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
Dec 14 07:38:39 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
Dec 14 09:36:58 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
Dec 14 09:38:27 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
Dec 14 10:45:35 firefox (map: 0xffffff8046cfb000) triggered DYLD shared region unnest for map: 0xffffff8046cfb000, region 0x7fff89600000->0x7fff89800000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Dec 14 11:09:09 process com.apple.WebKit[3678] thread 910877 caught burning CPU!; EXC_RESOURCE supressed due to audio playback
Dec 14 11:35:53 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
Dec 14 11:38:36 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
Dec 14 13:12:12 firefox (map: 0xffffff8051eab690) triggered DYLD shared region unnest for map: 0xffffff8051eab690, region 0x7fff89600000->0x7fff89800000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Dec 14 13:39:50 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
Dec 14 13:41:29 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
Dec 14 15:18:00 firefox (map: 0xffffff8051826000) triggered DYLD shared region unnest for map: 0xffffff8051826000, region 0x7fff89600000->0x7fff89800000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Dec 14 15:35:46 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
Dec 14 15:38:35 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
Dec 14 17:42:52 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
Dec 14 17:44:01 com.symantec.errorreporting.periodic: Service exited with abnormal code: 70
Dec 14 18:36:37 Error 2 registering socket filter (com.symantec.fw.ac.at). Your computer may not be fully protected.
Dec 14 18:36:37 com.apple.Kerberos.kdc: Service exited with abnormal code: 1
Dec 14 18:36:37 ** GPU Hardware VM is disabled (multispace: disabled, page table updates with DMA: disabled)
Dec 14 18:36:54 com.apple.dpd: Service exited with abnormal code: 75
Dec 14 18:37:05 com.apple.dpd: Service exited with abnormal code: 75
Dec 14 18:37:21 firefox (map: 0xffffff8049a89c30) triggered DYLD shared region unnest for map: 0xffffff8049a89c30, region 0x7fff86c00000->0x7fff86e00000. While not abnormal for debuggers, this increases system memory footprint until the target exits.
Dec 14 18:40:13 com.symantec.errorreporting.periodic-agent: Service exited with abnormal code: 70
Activity
CPU: user 13%, system 38%
CPU per process: SafariDAVClient (UID 501) is using 97 %
Memory: Safari (UID 501) is using 1753 MB
kexts
com.symantec.kext.internetSecurity (5.4f4)
com.symantec.kext.pf (5.7.1f4)
com.symantec.kext.ips (3.9.2f1)
com.symantec.kext.SymAPComm (12.7.1f4)
com.symantec.kext.fw (5.3.1f4)
Daemons
com.period.searchprotectd
com.carbonite.daemon
com.symantec.liveupdate.daemon
com.apple.installer.osmessagetracing
com.microsoft.office.licensing.helper
com.symantec.errorreporting.periodic
com.oracle.java.Helper-Tool
com.symantec.symdaemon
com.symantec.sharedsettings
com.adobe.fpsaud
com.symantec.liveupdate.daemon.ondemand
com.symantec.deepsight-extractor
Agents
com.symantec.uiagent.application
com.carbonite.carbonitestatus
com.symantec.nis.application
com.oracle.java.Java-Updater
com.apple.AirPortBaseStationAgent
com.carbonite.carbonitealerts
com.symantec.errorreporting.periodic-agent
Bundles
/Library/Extensions/FileSecurity.kext
- com.symantec.kext.filesecurity
/Library/Extensions/SymAPComm.kext
- com.symantec.kext.SymAPComm
/Library/Extensions/SymFirewall.kext
- com.symantec.kext.fw
/Library/Extensions/SymInternetSecurity.kext
- com.symantec.kext.internetSecurity
/Library/Extensions/SymIPS.kext
- com.symantec.kext.ips
/Library/Extensions/SymPersonalFirewall.kext
- com.symantec.kext.pf
/Library/Internet Plug-Ins/Flash Player.plugin
- N/A
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin
- com.oracle.java.JavaAppletPlugin
/Library/Internet Plug-Ins/NortonInternetSecurityBF.plugin
- com.symantec.NortonInternetSecurityBF
/Library/Internet Plug-Ins/SharePointBrowserPlugin.plugin
- com.microsoft.sharepoint.browserplugin
/Library/Internet Plug-Ins/SharePointWebKitPlugin.webplugin
- com.microsoft.sharepoint.webkitplugin
/Library/PreferencePanes/Carbonite.prefPane
- com.carbonite.prefpanel
/Library/PreferencePanes/Flash Player.prefPane
- com.adobe.flashplayerpreferences
/Library/PreferencePanes/JavaControlPanel.prefPane
- com.oracle.java.JavaControlPanel
/Library/PreferencePanes/SymantecQuickMenu.prefPane
- com.symantec.quickmenu.prefpane
Library/Address Book Plug-Ins/SkypeABDialer.bundle
- com.skype.skypeabdialer
Library/Address Book Plug-Ins/SkypeABSMS.bundle
- com.skype.skypeabsms
Library/Internet Plug-Ins/TroviNPAPIPlugin.plugin
- com.conduit.ConduitNPAPIPlugin
Contents of /Library/LaunchAgents/com.carbonite.launchd.carbonitealerts.plist (checksum 3096452879)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>com.carbonite.carbonitealerts</string>
<key>OnDemand</key>
<true/>
<key>RunAtLoad</key>
<false/>
<key>WatchPaths</key>
<array>
<string>/Library/Application Support/Carbonite/CarboniteAlerts.app/Contents/Resources/</string>
</array>
<key>ProgramArguments</key>
<array>
<string>/Library/Application Support/Carbonite/CarboniteAlerts.app/Contents/MacOS/CarboniteAlerts</string>
</array>
</dict>
</plist>
Contents of /Library/LaunchAgents/com.carbonite.launchd.carbonitestatus.plist (checksum 2411194237)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>com.carbonite.carbonitestatus</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Application Support/Carbonite/CarboniteStatus.app/Contents/MacOS/CarboniteStatus</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>OnDemand</key>
<false/>
</dict>
</plist>
Contents of /Library/LaunchAgents/com.oracle.java.Java-Updater.plist (checksum 2888270030)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.oracle.java.Java-Updater</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater</string>
<string>-bgcheck</string>
</array>
<key>StandardErrorPath</key>
<string>/dev/null</string>
<key>StandardOutPath</key>
<string>/dev/null</string>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>14</integer>
<key>Minute</key>
<integer>2</integer>
<key>Weekday</key>
<integer>1</integer>
</dict>
</dict>
...and 1 more line(s)
Contents of /Library/LaunchAgents/com.symantec.errorreporter-periodicagent.plist (checksum 3538970707)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>com.symantec.errorreporting.periodic-agent</string>
<key>Nice</key>
<integer>10</integer>
<key>LowPriorityIO</key>
<true/>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>86400</integer>
<key>StartCalendarInterval</key>
<array>
<dict>
<key>Minute</key>
<integer>48</integer>
<key>Hour</key>
<integer>16</integer>
<key>Weekday</key>
<integer>2</integer>
...and 28 more line(s)
Contents of /Library/LaunchAgents/com.symantec.nis.application.plist (checksum 4000086316)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.symantec.nis.application</string>
<key>RunAtLoad</key>
<false/>
<key>QueueDirectories</key>
<array>
<string>/Library/Application Support/Symantec/NisLaunch</string>
</array>
<key>ProgramArguments</key>
<array>
<string>/Applications/Symantec Solutions/Norton Internet Security.app/Contents/MacOS/Norton Internet Security</string>
</array>
</dict>
</plist>
Contents of /Library/LaunchAgents/com.symantec.uiagent.application.plist (checksum 2715641560)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>com.symantec.uiagent.application</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Application Support/Symantec/SymUIAgent/SymUIAgent.app/Contents/MacOS/SymUIAgent</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Contents of /Library/LaunchDaemons/com.carbonite.launchd.carbonitedaemon.plist (checksum 2948711974)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.carbonite.daemon</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Application Support/Carbonite/CarboniteDaemon.app/Contents/MacOS/CarboniteDaemon</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>OnDemand</key>
<false/>
<key>WorkingDirectory</key>
<string>/Library/Application Support/Carbonite</string>
<key>StandardOutPath</key>
<string>/Library/Logs/Carbonite1.log</string>
<key>StandardErrorPath</key>
<string>/Library/Logs/Carbonite2.log</string>
</dict>
</plist>
Contents of /Library/LaunchDaemons/com.perion.searchprotectd.plist (checksum 1209345832)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AbandonProcessGroup</key>
<true/>
<key>EnableTransactions</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Applications/SearchProtect/SearchProtect.app/Contents/MacOS/SearchProt ect</string>
<string>-execv_instance</string>
</array>
<key>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>com.period.searchprotectd</string>
</dict>
</plist>
Contents of /Library/LaunchDaemons/com.symantec.deepsight-extractor.plist (checksum 27990138)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<true/>
<key>Label</key>
<string>com.symantec.deepsight-extractor</string>
<key>OnDemand</key>
<true/>
<key>KeepAlive</key>
<dict>
<key>NetworkState</key>
<true/>
</dict>
<key>RunAtLoad</key>
<true/>
<key>LowPriorityIO</key>
<true/>
<key>Nice</key>
<integer>10</integer>
<key>StandardOutPath</key>
<string>/dev/null</string>
<key>StandardErrorPath</key>
<string>/Library/Application Support/Symantec/DeepSight/errors.log</string>
...and 13 more line(s)
Contents of /Library/LaunchDaemons/com.symantec.errorreporter-periodic.plist (checksum 4116421858)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>com.symantec.errorreporting.periodic</string>
<key>Nice</key>
<integer>10</integer>
<key>LowPriorityIO</key>
<true/>
<key>RunAtLoad</key>
<false/>
<key>StartInterval</key>
<integer>43200</integer>
<key>StartCalendarInterval</key>
<array>
<dict>
<key>Minute</key>
<integer>48</integer>
<key>Hour</key>
<integer>12</integer>
<key>Weekday</key>
<integer>2</integer>
...and 30 more line(s)
Contents of /Library/LaunchDaemons/com.symantec.liveupdate.daemon.ondemand.plist (checksum 2394746304)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<false/>
<key>Label</key>
<string>com.symantec.liveupdate.daemon.ondemand</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Application Support/Symantec/LiveUpdate/LiveUpdateDaemon.bundle/Contents/MacOS/LiveUpdateDa emon</string>
</array>
<key>TimeOut</key>
<integer>15</integer>
<key>Sockets</key>
<dict>
<key>DaemonSocket</key>
<dict>
<key>SockPathMode</key>
<integer>49663</integer>
<key>SockPathName</key>
<string>/private/tmp/com.symantec.liveupdate.daemonport</string>
</dict>
</dict>
<key>EnableTransactions</key>
...and 3 more line(s)
Contents of /Library/LaunchDaemons/com.symantec.liveupdate.daemon.plist (checksum 4073930787)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<false/>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>com.symantec.liveupdate.daemon</string>
<key>ProgramArguments</key>
<array>
<string>/Library/Application Support/Symantec/LiveUpdate/LUTool</string>
</array>
<key>StartInterval</key>
<integer>7200</integer>
<key>TimeOut</key>
<integer>15</integer>
</dict>
</plist>
Contents of /Library/LaunchDaemons/com.symantec.nav.migrateqtf.plist (checksum 1567806071)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<false/>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>com.symantec.nav.migrateqtf</string>
<key>ProgramArguments</key>
<array>
<string>/usr/bin/MigrateQTF</string>
</array>
<key>StartInterval</key>
<integer>300</integer>
<key>TimeOut</key>
<integer>15</integer>
</dict>
</plist>
Contents of /Library/LaunchDaemons/com.symantec.sharedsettings.plist (checksum 2142494329)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<false/>
<key>Label</key>
<string>com.symantec.sharedsettings</string>
<key>MachServices</key>
<dict>
<key>com.symantec.sharedsettings</key>
<true/>
</dict>
<key>Program</key>
<string>/Library/PrivateFrameworks/SymSharedSettings.framework/Tools/SymSharedS ettingsd</string>
</dict>
</plist>
Contents of /Library/LaunchDaemons/com.symantec.symdaemon.plist (checksum 513030552)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.symantec.symdaemon</string>
<key>OnDemand</key>
<false/>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<false/>
</dict>
<key>RunAtLoad</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/Library/Application Support/Symantec/Daemon/SymDaemon.bundle/Contents/MacOS/SymDaemon</string>
</array>
</dict>
</plist>
Listeners
cupsd: ipp
kdc: kerberos
launchd: afpovertcp
launchd: microsoft-ds
User login items
VMware Fusion Start Menu
- /Applications/VMware Fusion.app/Contents/Library/VMware Fusion Start Menu.app
Restricted files: 406
Elapsed time (s): 207 -
How to specify maximum memory usage for Java VM in Tomcat?
Does any one know how to setup memory usage for Java VM, such as "-Xmx256m" parameter, in Tomcat?
I'm using Tomcat 3.x in Apache web server on Sun Solaris platform. I already tried to add the following line into tomcat.properties, like:
wrapper.bin.parameters=-Xmx512m
However, it seems to me that this doesn't work. So, how about if my servlet will consume a large amount of memory that exceeds the default 64M memory boundary of Java VM?
Any idea will be appreciated.
HaohuaWith some help we found the fix. You have to set the -Xms and -Xmx at installation time when you install Tomcat 4.x as a service. Services do not read system variables. Go to the command prompt in windows, and in the directory where tomcat.exe resides, type "tomcat.exe /?". You will see jvm_options as part of the installation. Put the -Xms and -Xmx variables in the proper place during the install and it will work.
If you can't uninstall and reinstall, you can apply this registry hack that dfortae sent to me on another thread.
=-=-=-=-=-=
You can change the parameters in the Windows registry. If your service name is "Apache Tomcat" The location is:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Apache Tomcat\Parameters
Change the JVM Option Count value to the new value with the number of parameters it will now have. In my case, I added two parameters -Xms100m and -Xmx256m and it was 3 before so I bumped it to 5.
Then I created two more String values. I called the first one I added 'JVM Option Number 4' and the second 'JVM Option Number 5'. Then I set the value inside each. The first one I set to '-Xms100m' and the second I set to '-Xmx256m'. Then I restarted Tomcat and observed when I did big processing the memory limit was now 256 MB, so it worked. Hope this helps!
=-=-=-=-=
I tried this and it worked. I did not want to have to go through the whole reinstallation process, so this was best for me.
Thanks to all who helped on this. -
Getting memory usage details in ABAP program
Hello,
Is there any method to get the memory used by the program and control the program like restricting the memory usage to some limit or any other control measures which can be taken in the program itself if the memory usage by the program exceeds a maximum limit. Or kindly let me know where i can find the details.Hi,
> Is there any method to get the memory used by the program
investigate the methods of class cl_abap_memory_utilities (e.g. GET_TOTAL_USED_SIZE)
>and control the program like restricting the memory usage to some limit
report rsmemory can change the systemwide quotas
>or any other control measures which can be taken in the program itself if the memory
>usage by the program exceeds a maximum limit
needs to be implemented manually if neede program specific...
Kind regards,
Hermann -
How to calculate memory usage base on graphic utilization
Dear All ,
We have t2000 server with solaris 10 and 15 zones inside , and install SMC server include module ,Harddware configuration is 16 Gb Memory , 4 x 72 gb Hardisk and Swap 4Gb .,from menu Manage container manager , we select host of the server then click utilization , but i see memory usage 19759 Mb , How to calculate memory from this graph ? cause maximum ream RAM only 16 Gb in our server.
Regards
HadiPL/SQL collections are stored in the PGA. So you can monitor the PGA utilization of the session(s) to see how much PGA they use.
SELECT sid, name, value
FROM v$statname name
JOIN v$sesstat using (statistic#)
WHERE name.name in ('session pga memory', 'session pga memory max' )That will show you, for each session, the current PGA consumed by the session and the high water mark of PGA consumption by that session. You can join to V$SESSION and add additional predicates to narrow things down to the particular sessions you are interested in.
Justin -
Best GC options for minimum memory usage?
It seems that the more -Xmx memory I set, the more memory my app is using. Alas, the garbage collector is controlling the memory by itself and even System.gc() does not garbage collect all unused objects.
There are lots of parameters at http://java.sun.com/docs/hotspot/VMOptions.html, but what's the most aggressive one(s) to free unused memory as soon as possible?Hi Martin,
please, let me tell you a few basic things first:
- under good circumstances the GC runs only when some heap space is full and more
memory is needed.
- even if the GC frees memory it will usually not be returned to the OS immediately but only
when some other process needs it. This means you will not see processes shrink
immediately when the JVM reduces its heap sizes. This is certainly true for Solaris.
- it is bad practice to call System.gc() in your Java code.
- the smaller the configured heap the more time (in percent) the JVM will use for GC. This is
because the memory in use has to be searched each time the GC runs
- the heap actually used by your JVM adds to the real memory size of the process
- the max values (-Xmx + -XX:MaxPermSize) add to the virtual memory size of the process
even if these max values are not actually used
Now, knowing these, to minimize your actual heap usage, I recommend you the following settings:
-Xms20m # set this to the minimum you will need, omiting it only slows down JVM startup
-Xmx200m # set this to the maximum you might need or can spare
-XX:MinHeapFreeRatio=20 # minimum heap percentage free after a Full GC, default=40
-XX:MaxHeapFreeRatio=40 # maximum heap percentage free after a Full GC, default=70
-XX:NewSize=10m # don't make it too small because this will make GC less efficient, the
# actual value depends on the nature of the app
-XX:MaxNewSize=10m # ditto, you can only make it larger than NewSize
-XX:SurvivorRatio=6 # try to compensate for small NewSize
-XX:TargetSurvivorRatio=80 # don't waste survivor space memory
I hope this helps. Please, keep in mind that a GC-based system is not really meant to
minimize memory usage! -
Problem with Firefox and very heavy memory usage
For several releases now, Firefox has been particularly heavy on memory usage. With its most recent version, with a single browser instance and only one tab, Firefox consumes more memory that any other application running on my Windows PC. The memory footprint grows significantly as I open additional tabs, getting to almost 1GB when there are 7 or 8 tabs open. This is as true with no extensions or pluggins, and with the usual set, (firebug, fire cookie, fireshot, XMarks). Right now, with 2 tabs, the memory is at 217,128K and climbing, CPU is between 0.2 and 1.5%.
I have read dozens of threads providing "helpful" suggestions, and tried any that seem reasonable. But like most others who experience Firebug's memory problems, none address the issue.
Firefox is an excellent tool for web developers, and I rely on it heavily, but have now resorted to using Chrome as the default and only open Firefox when I must, in order to test or debug a page.
Is there no hope of resolving this problem? So far, from responses to other similar threads, the response has been to deny any responsibility and blame extensions and/or pluggins. This is not helpful and not accurate. Will Firefox accept ownership for this problem and try to address it properly, or must we continue to suffer for your failings?55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't. -
Problem with scanning and memory usage
I'm running PS CS3 on Vista Home Premium, 1.86Ghz Intel core 2 processor, and 4GB RAM.
I realise Vista only sees 3.3GB of this RAM, and I know Vista uses about 1GB all the time.
Question:
While running PS, and only PS, with no files open, I have 2GB of RAM, why will PS not let me scan a file that it says will take up 300Mb?
200Mb is about the limit that it will let me scan, but even then, the actual end product ends up being less than 100Mb. (around 70mb in most cases)I'm using a Dell AIO A920, latest drivers etc, and PS is set to use all avaliable RAM.
Not only will it not let me scan, once a file I've opened has used up "x" amount of RAM, even if I then close that file, "x" amount of RAM will STILL be unavaliable. This means if I scan something, I have to save it, close PS, then open it again before I can scan anything else.
Surely this isn't normal. Or am I being stupid and missing something obvious?
I've also monitored the memory usage during scanning using task manager and various other things, it hardly goes up at all, then shoots up to 70-80% once the 70ishMb file is loaded. Something is up because if that were true, I'd actually only have 1Gb of RAM, and running Vista would be nearly impossible.
It's not a Vista thing either as I had this problem when I had XP. In fact it was worse then, I could hardly scan anything, had to be very low resolution.
Thanks in advance for any help55%, it's still 1.6Gb....there shouldn't be a problem scanning something that it says will take up 300Mb, then actually only takes up 70Mb.
And not wrong, it obviously isn't releasing the memory when other applications need it because it doesn't, I have to close PS before it will release it. Yes, it probably is supposed to release it, but it isn't.
Thank you for your answer (even if it did appear to me to be a bit rude/shouty, perhaps something more polite than "Wrong!" next time) but I'm sitting at my computer, and I can see what is using how much memory and when, you can't.
Maybe you are looking for
-
Sender jdbc adapter - no update query
hi , i am using pi 731 single stack. the scenario is - PI has to pick data from view of a hana database. i am using jdbc sender for it. pi will not have access to update the table,only pi can read the view of database.So,PI can't use UPDATE query. If
-
After putting phone into DFU mode and attempting to restore and update the phone, at the end, an error message came up saying: "the iPhone could not be restored. An unknown error occured (1)." How do I go about fixing this problem. I need to get my p
-
How do I get iPad to recognize my location
How do I get iPad to recognize my gps loction
-
Hi All, I am getting the error for ToDate function in BOXI 3.1 webI rich client Application. =ToDate("15/12/2002";"dd/MM/yyyy") Please help me.. Thanks in advance Mahesh
-
How to parse a CSS Stylesheet from a JApplet - PLEASE HELP!
Hi all This is not a "how to read a file" question!! Please read on I have a JApplet embedded on an HTML page which uses a CSS Stylesheet to set the document's colors, fonts, etc. and I would like to apply the same font/color scheme to the applet, by