[solved] Kill process if it exceeds X of virtual memory

I am using checkgmail and it has a serious memoryleak problem. After few hours of running, its memory usage goes from initial 50M, to 500M, to 2000M, and does not stop there.
So I am trying to have it killed and restarted if it exceeds, say, 200M.
What would be the best way of doing that?
Last edited by Lockheed (2014-02-16 17:29:02)

$ ps -C urxvtd -o rss=
42516
$ if [ $(ps -C urxvtd -o rss=) -gt "40960" ]; then echo 'KABOOM!'; fi
KABOOM!
urxvtd uses over 40MB RAM [1], so it exceeds the threshold I've set up.
Depending how often you want to check it, you can use cron or add a 'sleep' timer.
[1] I'm using just RSS http://en.wikipedia.org/wiki/Resident_set_size, but you can measure e.g. vsize too.
http://publib.boulder.ibm.com/infocente … ine_ps.htm

Similar Messages

  • [Solved]No kill binary but I can still kill processes?

    Hello!
    I just migrated my laptop to EXT4 with the 2009.02-beta4 ISO (beta I know). Now everything seems to work fine except for when I power off my laptop, stopping the network spews out this error: "/etc/rc.d/network: line 62: /bin/kill: No such file or directory [DONE]".
    I checked /bin/ and sure enough there was no kill there so I ran 'which kill' and it came out empty as well. The only place I could find my kill was at /usr/lib/klibc/bin/kill which seems a bit odd, at least to me. Now it still shuts down and all and I _can_ kill processes with the kill command but I'm curious why this happened. I can't find anything about this 'bug' (if it even is one) on the bugtracker so, anyone know what's up with this?
    Last edited by Honken (2009-02-05 14:31:45)

    Ah, alright so I guess bash offers this feature as well then. Installing procps did the trick, thanks.

  • Launchd seems to have been going nuts with killing processes since upgrading to 10.8.4

    Ever since upgrading 10.8.3 to 10.8.4, I've been noticing my log being spammed every so often with messages like this:
    2013-06-09 10:48:06.061 PM com.apple.launchd.peruser.502[142]: (com.apple.CalendarAgent[1816]) Exited: Killed: 9
    2013-06-09 10:48:06.000 PM kernel[0]: memorystatus_thread: idle exiting pid 1816 [CalendarAgent]
    2013-06-09 10:48:09.653 PM com.apple.launchd[1]: (com.apple.xpcd.00000000-0000-0000-0000-000000000000[1603]) Exited: Killed: 9
    2013-06-09 10:48:09.000 PM kernel[0]: memorystatus_thread: idle exiting pid 1603 [xpcd]
    2013-06-09 10:48:53.650 PM com.apple.launchd.peruser.502[142]: (com.apple.printtool.agent[1812]) Exited: Killed: 9
    2013-06-09 10:48:53.000 PM kernel[0]: memorystatus_thread: idle exiting pid 1812 [printtool]
    2013-06-09 10:49:14.196 PM com.apple.launchd.peruser.502[142]: (com.apple.pbs[1826]) Exited: Killed: 9
    2013-06-09 10:49:14.000 PM kernel[0]: memorystatus_thread: idle exiting pid 1826 [pbs]
    2013-06-09 10:49:15.644 PM com.apple.launchd[1]: (com.apple.speech.synthesis.activityd[1602]) Exited: Killed: 9
    2013-06-09 10:49:15.000 PM kernel[0]: memorystatus_thread: idle exiting pid 1602 [com.apple.speech]
    2013-06-09 10:49:24.554 PM com.apple.launchd[1]: (com.apple.xpcd.F6010000-0000-0000-0000-000000000000[1601]) Exited: Killed: 9
    2013-06-09 10:49:24.000 PM kernel[0]: memorystatus_thread: idle exiting pid 1601 [xpcd]
    2013-06-09 10:49:31.838 PM com.apple.launchd.peruser.502[142]: (com.apple.printtool.agent[1827]) Exited: Killed: 9
    2013-06-09 10:49:31.000 PM kernel[0]: memorystatus_thread: idle exiting pid 1827 [printtool]
    2013-06-09 10:49:46.244 PM com.apple.launchd.peruser.502[142]: (com.apple.pbs[1830]) Exited: Killed: 9
    2013-06-09 10:49:46.000 PM kernel[0]: memorystatus_thread: idle exiting pid 1830 [pbs]
    2013-06-09 10:49:46.913 PM com.apple.launchd.peruser.502[142]: (com.apple.tccd[1599]) Exited: Killed: 9
    2013-06-09 10:49:46.000 PM kernel[0]: memorystatus_thread: idle exiting pid 1599 [tccd]
    2013-06-09 10:49:47.000 PM kernel[0]: memorystatus_thread: idle exiting pid 1595 [cfprefsd]
    I'm not sure what would be causing this... any help or pointers?
    Message was edited by: m_seymour
    (Added formatting to log entries)

    I am seeing the same problem. I see slowdowns and beachballs in Safari very frequently, coincident with a long run of these memorystatus_thread messages. I also see huge amounts of swap/virtual memory being used, up to 19Gb (I have 4Gb of RAM). All the memorystatus_thread messages are associated with Apple processes, no other apps, and it all clears up if I use Chrome instead of Safari. It sounds very much like Safari has a memory leak associated with all it's interprocess communications with other apps.
    I tried reinstalling Yosemite and that didn't solve it. There seems to be no way to roll back to an earlier release of Safari or install it separately (didn't MSFT get into a lot of trouble when it tied the browser to the OS, both for itself and its customers? Do we need to relearn that lesson?).
    Here's a list of processes that appear with memorystatus_thread messages.
    AirPlayUIAgent
    AppleIDAuthAgent
    CMFSyncAgent
    CalNCService
    CallHistoryPlugi
    CallHistorySyncH
    CloudKeychainPro
    ContainerMetadat
    CoreServicesUIAg
    DataDetectorsDyn
    EscrowSecurityAl
    FindMyMacd
    IMDMessageServic
    IMDPersistenceAg
    QuickLookSatelli
    SafariCloudHisto
    SafariNotificati
    ScopedBookmarkAg
    XPCKeychainSandb
    accountsd
    amfid
    awdd
    backupd-helper
    bird
    callservicesd
    cfprefsd
    cloudd
    cloudphotosd
    com.apple.Accoun
    com.apple.Addres
    com.apple.CloudP
    com.apple.CodeSi
    com.apple.Commer
    com.apple.GSSCre
    com.apple.HasTRB
    com.apple.ICPPho
    com.apple.InputM
    com.apple.MailSe
    com.apple.NotesM
    com.apple.Perfor
    com.apple.PhotoI
    com.apple.Safari
    com.apple.audio.
    com.apple.geod
    com.apple.hiserv
    com.apple.iCloud
    com.apple.ifdrea
    com.apple.intern
    com.apple.lakitu
    com.apple.notifi
    com.apple.photom
    com.apple.photos
    com.apple.sbd
    com.apple.toneli
    coreduetd
    corestoragehelpe
    coresymbolicatio
    ctkd
    deleted
    diagnosticd
    distnoted
    findmydeviced
    fmfd
    gamed
    hdiejectd
    iconservicesagen
    iconservicesd
    lsuseractivityd
    mapspushd
    nehelper
    networkd_privile
    nsurlsessiond
    nsurlstoraged
    pbs
    periodic-wrapper
    photolibraryd
    pkd
    recentsd
    sandboxd
    secd
    secinitd
    soagent
    softwareupdate_d
    softwareupdated
    spindump
    spindump_agent
    syncdefaultsd
    systemstatsd
    tccd
    wdhelper

  • Killed Process Details

    Hello,
    Yesterday I got message in my alert log regading one of the killed process. Like -
    Thu Mar 18 23:10:31 2010
    Process 0x0x50000076290b220 appears to be hung in Auto SQL Tuning task
    Current time = <>, process death time = <>
    Attempting to kill process 0x0x50000076290b220 with OS pid = <>
    OSD kill succeeded for process 0x0x50000076290b220
    Since there is no trace file for this, how can I find more details about a killed process? (Here - 0x0x50000076290b220)
    Thanks!

    I have the same problem. Oracle support has been working (waiting?) on this since May-2009, without real progress.
    The Auto SQL Tuning task is deamed to be hung about thrice a week, and from time to time, even PMON is shot down, causing the instance to crash immediately:
    Tue Mar 13 23:10:18 2012
    Process 0x0x26002b078 appears to be hung in Auto SQL Tuning task
    Current time = 1331676618, process death time = 1331676605
    Attempting to kill process 0x0x26002b078 with OS pid = 26466
    OSD kill succeeded for process 0x26002b078
    Tue Mar 13 23:10:39 2012
    Errors in file /u01/app/oracle/diag/rdbms/orainst/orainst/trace/orainst_m000_15963.trc:
    ORA-00472: PMON process terminated with error
    Tue Mar 13 23:10:39 2012
    DBW1 (ospid: 24155): terminating the instance due to error 472
    Tue Mar 13 23:10:39 2012
    ORA-1092 : opiodr aborting process unknown ospid (27738_47437538569824)
    Tue Mar 13 23:10:39 2012
    ORA-1092 : opitsk aborting process
    Instance terminated by DBW1, pid = 24155
    This is a very annoying issue. Has anybody been able to solve this on his own?
    Regards, Tom
    Edited by: snmdla on Mar 14, 2012 8:14 AM

  • Kill processes (using Javascript) on a 64-bits machine (Windows Vista, 7, 8, 8.1)

    Hi everyone. I have a simple VBScript sample that kills a process by name. It works fine on every OS, X86 and 64 bits :
    ---------------------------kill process sample----------------------------------------
    Set wsh = CreateObject("Wscript.Shell")
    wsh.Run "calc.exe",1
    Set Processes = GetObject("winmgmts:").InstancesOf("Win32_Process")
    For each Process in Processes
    Select Case LCase(Process.Name)
    Case "calc.exe" 
    Process.Terminate(1)
    I tried the "for" loop, the "forEach" loop and "switch" in javascript but none of them work like in VBScript.
    Could anyone help me converting this script sample to javascript, since VBScript became obsolete and God knows whether it will be available for HTA applications and Windows Script Host files in the near future.
    Thanks a lot in advance.

    Jvr, you said :
    "What you have done is one of the reasons why support for ActiveX is being dropped.  By allowing unsafe controls you have removed the most important security restriction.
    I highly recommend that you spend some time learning Windows but not from web sites or from people who are just hackers.
    If you are going to alter IE you might as well just use an HTA.  It doesn't reduce security and is much easier to use.
    You are trying to do what a lot of new and untrained people try.  You are trying to reinvent Windows but mostly because you do not have fundamental technical training.  Get the training and you will not be led down these pointless paths.
    NTVDM is not CMD.EXE.  NTVDM is used to emulate a 16 bit DOS environment. It is not required for NT or for CMD.EXE.  It is disabled by default on all modern versions of Windows.  16 bit applications can be a security issue and
    do make managing Windows harder."
    One of the best features of IE might be ActiveX technology. I could be wrong, but some controls are still highly used by websites, and a lot of softwares help rely on HHCTRL ActiveX. I don´t see it *currently* being dropped.
    Could be in the future, but not only IE uses Activex, a lot of programs make use of them, not to mention popular ones like Word, Excel.
    My friend, I use Windows for more than a decade, don´t tell me what I have to learn or not. You´ve got to be kidding because I know a lot but of course I am humble to admit I ´don´t know everything and can at times have doubts, other people can help
    just like I could help when someone has a doubt on something I know. Also I dont know why you are talking about hackers. As far as I know they *must* know the OS in order to exploit stuff and run their malicious code, not only know how to exploit general vulnerabilities,
    so I bet the real hackers have a lot to teach.
    I am not untrained, sorry but you must be high since you are not reading my posts correctly. I said I altered security setting for the *INTRANET ZONE*, not Internet, and also set the "Websites in less privileged zones can navigate to thiz zone" to deny.
    And if you are an expert you must know the intranet zone is disabled by default, which is my case, but if you add an IP address or website, then it will be enabled *only* for them. Furthermore an attacker would need to know what is the IP address I added and
    would need to bypass the cross site scripting filter and also the setting above that I disabled.
    Again, you´ve gotta be high. I never said CMD=NTVDM. NTVDM just emulates a 16 bits program which is Command.com, I said in the other post, didn´t you read?
    And you can´t tell if MSHTA, ActiveX and WSH will be totally removed from Windows in the future, it is only a possibility. They are useful. 16 bits apps are not but are still supported on 32-bits Windows. Check out on a 32-bits system, and tell me if
    you found some 16-bits apps including C:\windows\system32\command.com.
    Hope now you understood what I have written.
    cheers.

  • Error when compiling firefox...Out of memory: Kill process 6763

    I'm trying to compile the firefox version 15 as both 16.0.1 and I always get the same error, which I think leaves me with no ram even though I have 8 gigs, i try it with 8 gigs of swap but does exactly the same, here are all the facts about this problem, the only thing I have not tried is to change the compiler version, what do you think? this is a clear linkage error where the system breaks down after running out of physical memory...
    ERROR--->-using  yaourt -Sb or makepkg -s:
    /tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/library/nsUnicharUtils.cpp:275:1: warning: always_inline function might not be inlinable [-Wattributes]
    /tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/library/nsUnicharUtils.cpp:50:1: warning: always_inline function might not be inlinable [-Wattributes]
    /tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/library/nsUnicharUtils.cpp:40:1: warning: always_inline function might not be inlinable [-Wattributes]
    rm -f libxul.so
    /tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release/obj-x86_64-unknown-linux-gnu/_virtualenv/bin/python /tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release/config/pythonpath.py -I../../config /tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release/config/expandlibs_exec.py --depend .deps/libxul.so.pp --target libxul.so --uselist -- c++ -pedantic -Wall -Wpointer-arith -Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body -Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof -Wno-variadic-macros -Wcast-align -Wno-long-long -march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fno-exceptions -fno-strict-aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread -pipe -DNDEBUG -DTRIMMED -g -fprofile-generate -O3 -fomit-frame-pointer -fPIC -shared -Wl,-z,defs -Wl,--gc-sections -Wl,-h,libxul.so -o libxul.so nsStaticXULComponents.i_o nsUnicharUtils.i_o nsBidiUtils.i_o nsSpecialCasingData.i_o nsUnicodeProperties.i_o nsRDFResource.i_o -lpthread -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-rpath,/usr/lib/firefox -Wl,-z,noexecstack -fprofile-generate -Wl,-rpath-link,/tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/bin -Wl,-rpath-link,/usr/lib ../../toolkit/xre/libxulapp_s.a ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a ../../staticlib/components/libi18n.a ../../staticlib/components/libchardet.a ../../staticlib/components/libjar50.a ../../staticlib/components/libstartupcache.a ../../staticlib/components/libpref.a ../../staticlib/components/libhtmlpars.a ../../staticlib/components/libidentity.a ../../staticlib/components/libimglib2.a ../../staticlib/components/libgkgfx.a ../../staticlib/components/libgklayout.a ../../staticlib/components/libdocshell.a ../../staticlib/components/libembedcomponents.a ../../staticlib/components/libwebbrwsr.a ../../staticlib/components/libnsappshell.a ../../staticlib/components/libtxmgr.a ../../staticlib/components/libcommandlines.a ../../staticlib/components/libtoolkitcomps.a ../../staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a ../../staticlib/components/libappcomps.a ../../staticlib/components/libjsreflect.a ../../staticlib/components/libcomposer.a ../../staticlib/components/libtelemetry.a ../../staticlib/components/libjsinspector.a ../../staticlib/components/libjsdebugger.a ../../staticlib/components/libstoragecomps.a ../../staticlib/components/librdf.a ../../staticlib/components/libwindowds.a ../../staticlib/components/libjsctypes.a ../../staticlib/components/libjsperf.a ../../staticlib/components/libgkplugin.a ../../staticlib/components/libunixproxy.a ../../staticlib/components/libjsd.a ../../staticlib/components/libautoconfig.a ../../staticlib/components/libauth.a ../../staticlib/components/libcookie.a ../../staticlib/components/libpermissions.a ../../staticlib/components/libuniversalchardet.a ../../staticlib/components/libfileview.a ../../staticlib/components/libplaces.a ../../staticlib/components/libtkautocomplete.a ../../staticlib/components/libsatchel.a ../../staticlib/components/libpippki.a ../../staticlib/components/libwidget_gtk2.a ../../staticlib/components/libimgicon.a ../../staticlib/components/libprofiler.a ../../staticlib/components/libaccessibility.a ../../staticlib/components/libremoteservice.a ../../staticlib/components/libspellchecker.a ../../staticlib/components/libzipwriter.a ../../staticlib/components/libservices-crypto.a ../../staticlib/libjsipc_s.a ../../staticlib/libdomipc_s.a ../../staticlib/libdomplugins_s.a ../../staticlib/libmozipc_s.a ../../staticlib/libmozipdlgen_s.a ../../staticlib/libipcshell_s.a ../../staticlib/libgfxipc_s.a ../../staticlib/libhal_s.a ../../staticlib/libdombindings_s.a ../../staticlib/libxpcom_core.a ../../staticlib/libucvutil_s.a ../../staticlib/libchromium_s.a ../../staticlib/libsnappy_s.a ../../staticlib/libgtkxtbin.a ../../staticlib/libthebes.a ../../staticlib/libgl.a ../../staticlib/libycbcr.a -L../../dist/bin -L../../dist/lib /tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release/obj-x86_64-unknown-linux-gnu/dist/lib/libjs_static.a -lffi -Wl,-rpath-link,/usr/lib -L/usr/lib -lssl3 -lsmime3 -lnss3 -lnssutil3 -lcrmf -lXrender -lfreetype -lfontconfig -lsqlite3 -ljpeg -lpng -lz -lhunspell-1.3 -L/usr/lib -levent -lpixman-1 ../../dist/lib/libgkmedias.a -lasound -lrt -L../../dist/bin -L../../dist/lib -L/usr/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl ../../dist/lib/libmozalloc.a -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0 -lX11 -lXext -lpangoft2-1.0 -lfreetype -lfontconfig -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lfontconfig -lgdk-x11-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lXt -lgthread-2.0 -lfreetype -lstartup-notification-1 -lvpx -ldl -lrt -lrt
    collect2: error: ld terminated with signal 9 [Matat]
    make[6]: *** [libxul.so] Error 1
    make[6]: Leaving directory `/tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release/obj-x86_64-unknown-linux-gnu/toolkit/library'
    make[5]: *** [libs_tier_platform] Error 2
    make[5]: Leaving directory `/tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
    make[4]: *** [tier_platform] Error 2
    make[4]: Leaving directory `/tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
    make[3]: *** [default] Error 2
    make[3]: Leaving directory `/tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release/obj-x86_64-unknown-linux-gnu'
    make[2]: *** [realbuild] Error 2
    make[2]: Leaving directory `/tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release'
    make[1]: *** [profiledbuild] Error 2
    make[1]: Leaving directory `/tmp/yaourt-tmp-enric/abs-firefox/src/mozilla-release'
    make: *** [build] Error 2
    dmesg output on  ld :
    [ 1521.353469] ld invoked oom-killer: gfp_mask=0x280da, order=0, oom_adj=0, oom_score_adj=0
    [ 1521.353474] Pid: 6763, comm: ld Not tainted 3.6.0 #1
    [ 1521.353475] Call Trace:
    [ 1521.353482] [<ffffffff814cc68e>] ? dump_header.isra.11+0x5d/0x18e
    [ 1521.353486] [<ffffffff812ae3dc>] ? ___ratelimit+0xac/0x120
    [ 1521.353489] [<ffffffff810e2fb5>] ? oom_kill_process+0x275/0x3b0
    [ 1521.353492] [<ffffffff810e2b10>] ? find_lock_task_mm+0x20/0x70
    [ 1521.353494] [<ffffffff810e3455>] ? out_of_memory+0x1c5/0x290
    [ 1521.353497] [<ffffffff810e742a>] ? __alloc_pages_nodemask+0x85a/0x870
    [ 1521.353500] [<ffffffff811048c4>] ? handle_pte_fault+0x8c4/0xb10
    [ 1521.353505] [<ffffffff81075ddf>] ? select_task_rq_fair+0x4cf/0x790
    [ 1521.353509] [<ffffffff8100a21f>] ? native_sched_clock+0xf/0x70
    [ 1521.353512] [<ffffffff8102b880>] ? do_page_fault+0x130/0x460
    [ 1521.353515] [<ffffffff810e6301>] ? get_page_from_freelist+0x311/0x670
    [ 1521.353519] [<ffffffff814d2275>] ? page_fault+0x25/0x30
    [ 1521.353523] [<ffffffff810df577>] ? file_read_actor+0x67/0x1f0
    [ 1521.353526] [<ffffffff810f6915>] ? shmem_file_aio_read+0x155/0x3a0
    [ 1521.353530] [<ffffffff81128832>] ? do_sync_read+0x92/0xd0
    [ 1521.353532] [<ffffffff811290c0>] ? vfs_read+0xa0/0x160
    [ 1521.353535] [<ffffffff811291c7>] ? sys_read+0x47/0xa0
    [ 1521.353537] [<ffffffff814d2275>] ? page_fault+0x25/0x30
    [ 1521.353540] [<ffffffff814d27fd>] ? system_call_fastpath+0x1a/0x1f
    [ 1521.353541] Mem-Info:
    [ 1521.353543] DMA per-cpu:
    [ 1521.353544] CPU 0: hi: 0, btch: 1 usd: 0
    [ 1521.353545] CPU 1: hi: 0, btch: 1 usd: 0
    [ 1521.353546] CPU 2: hi: 0, btch: 1 usd: 0
    [ 1521.353547] CPU 3: hi: 0, btch: 1 usd: 0
    [ 1521.353548] DMA32 per-cpu:
    [ 1521.353550] CPU 0: hi: 186, btch: 31 usd: 0
    [ 1521.353551] CPU 1: hi: 186, btch: 31 usd: 26
    [ 1521.353552] CPU 2: hi: 186, btch: 31 usd: 59
    [ 1521.353553] CPU 3: hi: 186, btch: 31 usd: 0
    [ 1521.353554] Normal per-cpu:
    [ 1521.353555] CPU 0: hi: 186, btch: 31 usd: 30
    [ 1521.353556] CPU 1: hi: 186, btch: 31 usd: 156
    [ 1521.353557] CPU 2: hi: 186, btch: 31 usd: 169
    [ 1521.353558] CPU 3: hi: 186, btch: 31 usd: 0
    [ 1521.353562] active_anon:1599337 inactive_anon:345122 isolated_anon:0
    active_file:140 inactive_file:222 isolated_file:0
    unevictable:17 dirty:0 writeback:0 unstable:0
    free:11562 slab_reclaimable:14927 slab_unreclaimable:21150
    mapped:6681 shmem:932329 pagetables:10868 bounce:0
    [ 1521.353567] DMA free:15892kB min:20kB low:24kB high:28kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15644kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:8kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
    [ 1521.353568] lowmem_reserve[]: 0 3147 7925 7925
    [ 1521.353575] DMA32 free:23592kB min:4520kB low:5648kB high:6780kB active_anon:2754024kB inactive_anon:412764kB active_file:16kB inactive_file:44kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3223060kB mlocked:0kB dirty:0kB writeback:0kB mapped:5892kB shmem:1294220kB slab_reclaimable:7144kB slab_unreclaimable:5108kB kernel_stack:216kB pagetables:8616kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:715 all_unreclaimable? yes
    [ 1521.353576] lowmem_reserve[]: 0 0 4778 4778
    [ 1521.353582] Normal free:6764kB min:6860kB low:8572kB high:10288kB active_anon:3643324kB inactive_anon:967724kB active_file:544kB inactive_file:844kB unevictable:68kB isolated(anon):0kB isolated(file):0kB present:4892832kB mlocked:68kB dirty:0kB writeback:0kB mapped:20832kB shmem:2435096kB slab_reclaimable:52564kB slab_unreclaimable:79484kB kernel_stack:2968kB pagetables:34856kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:2484 all_unreclaimable? yes
    [ 1521.353583] lowmem_reserve[]: 0 0 0 0
    [ 1521.353586] DMA: 1*4kB 0*8kB 1*16kB 0*32kB 2*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 3*4096kB = 15892kB
    [ 1521.353592] DMA32: 740*4kB 506*8kB 300*16kB 135*32kB 25*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 1*2048kB 1*4096kB = 23872kB
    [ 1521.353599] Normal: 637*4kB 0*8kB 0*16kB 2*32kB 1*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 6516kB
    [ 1521.353605] 932908 total pagecache pages
    [ 1521.353606] 0 pages in swap cache
    [ 1521.353607] Swap cache stats: add 0, delete 0, find 0/0
    [ 1521.353608] Free swap = 0kB
    [ 1521.353609] Total swap = 0kB
    [ 1521.369740] 2094576 pages RAM
    [ 1521.369743] 80362 pages reserved
    [ 1521.369744] 36619 pages shared
    [ 1521.369745] 1993098 pages non-shared
    [ 1521.369746] [ pid ] uid tgid total_vm rss nr_ptes swapents oom_score_adj name
    [ 1521.369752] [ 2286] 0 2286 6258 269 16 0 -1000 systemd-udevd
    [ 1521.369754] [ 2293] 0 2293 153174 83 229 0 0 systemd-journal
    [ 1521.369757] [ 3585] 0 3585 4695 188 13 0 0 mount.ntfs-3g
    [ 1521.369759] [ 3615] 0 3615 3547 140 12 0 0 crond
    [ 1521.369761] [ 3616] 0 3616 6708 2523 18 0 0 preload
    [ 1521.369763] [ 3617] 0 3617 17762 297 38 0 0 cupsd
    [ 1521.369765] [ 3619] 0 3619 43562 313 52 0 0 NetworkManager
    [ 1521.369767] [ 3620] 84 3620 6988 70 20 0 0 avahi-daemon
    [ 1521.369769] [ 3621] 0 3621 6515 72 18 0 0 systemd-logind
    [ 1521.369770] [ 3622] 81 3622 4595 285 14 0 -900 dbus-daemon
    [ 1521.369772] [ 3626] 0 3626 2275 32 9 0 0 agetty
    [ 1521.369774] [ 3627] 0 3627 6693 53 19 0 0 kdm
    [ 1521.369776] [ 3628] 84 3628 6957 52 18 0 0 avahi-daemon
    [ 1521.369778] [ 3631] 0 3631 45316 12716 91 0 0 X
    [ 1521.369780] [ 4287] 0 4287 15666 128 36 0 0 kdm
    [ 1521.369782] [ 5131] 102 5131 92417 912 41 0 0 polkitd
    [ 1521.369784] [ 5132] 0 5132 53222 346 41 0 0 colord
    [ 1521.369786] [ 5163] 0 5163 129753 991 153 0 0 colord-sane
    [ 1521.369788] [11395] 0 11395 523912 258 62 0 0 console-kit-dae
    [ 1521.369790] [11468] 1000 11468 3668 111 13 0 0 startkde
    [ 1521.369792] [11480] 1000 11480 3970 37 13 0 0 dbus-launch
    [ 1521.369794] [11481] 1000 11481 4839 401 15 0 0 dbus-daemon
    [ 1521.369796] [11507] 1000 11507 4068 94 12 0 0 gpg-agent
    [ 1521.369798] [11510] 1000 11510 3760 87 11 0 0 ssh-agent
    [ 1521.369799] [11524] 1000 11524 1013 21 7 0 -300 start_kdeinit
    [ 1521.369801] [11525] 1000 11525 85821 1591 149 0 -300 kdeinit4
    [ 1521.369803] [11528] 1000 11528 188590 3072 227 0 0 kded4
    [ 1521.369805] [11534] 1000 11534 108217 2084 173 0 0 kwalletd
    [ 1521.369807] [11539] 1000 11539 107913 2348 173 0 0 kglobalaccel
    [ 1521.369809] [11542] 0 11542 55597 601 43 0 0 upowerd
    [ 1521.369811] [11555] 1000 11555 1047 18 7 0 0 kwrapper4
    [ 1521.369813] [11556] 1000 11556 127307 2185 174 0 0 ksmserver
    [ 1521.369814] [11568] 0 11568 49409 269 33 0 0 udisks-daemon
    [ 1521.369816] [11573] 0 11573 12394 89 28 0 0 udisks-daemon
    [ 1521.369818] [11577] 1000 11577 214097 12177 260 0 0 kwin
    [ 1521.369820] [11590] 1000 11590 93530 1489 131 0 0 kactivitymanage
    [ 1521.369822] [11621] 1000 11621 343123 3417 215 0 0 knotify4
    [ 1521.369824] [11631] 1000 11631 175587 4370 239 0 0 krunner
    [ 1521.369826] [11633] 1000 11633 246522 16714 342 0 0 plasma-desktop
    [ 1521.369828] [11636] 1000 11636 216148 5325 253 0 0 lancelot
    [ 1521.369830] [11639] 1000 11639 50634 268 35 0 0 mission-control
    [ 1521.369831] [11643] 1000 11643 37597 405 39 0 0 akonadi_control
    [ 1521.369833] [11645] 1000 11645 357276 722 81 0 0 akonadiserver
    [ 1521.369835] [11652] 1000 11652 377776 6206 70 0 0 mysqld
    [ 1521.369837] [11738] 1000 11738 76786 1061 110 0 0 akonadi_agent_l
    [ 1521.369839] [11739] 1000 11739 76783 1056 111 0 0 akonadi_agent_l
    [ 1521.369841] [11740] 1000 11740 75143 1033 111 0 0 akonadi_agent_l
    [ 1521.369843] [11741] 1000 11741 75144 1042 110 0 0 akonadi_agent_l
    [ 1521.369845] [11742] 1000 11742 75800 1048 112 0 0 akonadi_agent_l
    [ 1521.369847] [11743] 1000 11743 75800 1054 107 0 0 akonadi_agent_l
    [ 1521.369848] [11744] 1000 11744 76786 1064 108 0 0 akonadi_agent_l
    [ 1521.369850] [11745] 1000 11745 76780 1073 111 0 0 akonadi_agent_l
    [ 1521.369852] [11746] 1000 11746 84215 1305 155 0 0 akonadi_maildis
    [ 1521.369854] [11747] 1000 11747 92098 1211 138 0 0 akonadi_nepomuk
    [ 1521.369856] [11774] 1000 11774 59745 591 76 0 0 nepomukserver
    [ 1521.369858] [11777] 1000 11777 287924 2235 149 0 0 nepomukservices
    [ 1521.369860] [11795] 1000 11795 100823 10181 51 0 0 virtuoso-t
    [ 1521.369861] [11801] 1000 11801 93041 786 99 0 0 pulseaudio
    [ 1521.369863] [11802] 133 11802 41125 46 17 0 0 rtkit-daemon
    [ 1521.369865] [11811] 1000 11811 17253 140 36 0 0 gconf-helper
    [ 1521.369867] [11813] 1000 11813 11527 127 26 0 0 gconfd-2
    [ 1521.369869] [11816] 1000 11816 68886 1148 123 0 0 kuiserver
    [ 1521.369871] [11837] 1000 11837 58146 1047 105 0 0 nepomukservices
    [ 1521.369873] [11839] 1000 11839 53655 966 98 0 0 nepomukservices
    [ 1521.369875] [11840] 1000 11840 92263 1128 107 0 0 nepomukservices
    [ 1521.369877] [11841] 1000 11841 109750 1232 107 0 0 nepomukservices
    [ 1521.369878] [12942] 1000 12942 41975 542 78 0 0 kwrited
    [ 1521.369880] [12944] 1000 12944 246808 6774 195 0 0 ktorrent
    [ 1521.369882] [12954] 1000 12954 93430 1212 139 0 0 polkit-kde-auth
    [ 1521.369884] [12957] 1000 12957 70673 1126 130 0 0 nepomukcontroll
    [ 1521.369886] [12959] 1000 12959 92309 1654 138 0 0 kgpg
    [ 1521.369888] [12966] 1000 12966 109879 2164 176 0 0 klipper
    [ 1521.369890] [13009] 1000 13009 86477 1682 131 0 0 kio_http_cache_
    [ 1521.369892] [17302] 1000 17302 270535 59165 488 0 0 firefox
    [ 1521.369894] [17322] 1000 17322 10407 86 26 0 0 gvfsd
    [ 1521.369896] [17324] 1000 17324 50365 171 31 0 0 gvfs-fuse-daemo
    [ 1521.369897] [18462] 1000 18462 138761 5014 199 0 0 konsole
    [ 1521.369899] [18464] 1000 18464 4227 156 13 0 0 bash
    [ 1521.369901] [19535] 1000 19535 3885 324 13 0 0 yaourt
    [ 1521.369903] [19680] 1000 19680 3800 253 13 0 0 makepkg
    [ 1521.369905] [22861] 1000 22861 174765 6917 209 0 0 dolphin
    [ 1521.369907] [24940] 1000 24940 12258 2121 27 0 0 Xvfb
    [ 1521.369909] [24941] 1000 24941 2944 134 11 0 0 make
    [ 1521.369911] [25116] 1000 25116 2946 137 11 0 0 make
    [ 1521.369913] [25337] 1000 25337 3013 200 11 0 0 make
    [ 1521.369915] [ 473] 1000 473 2977 169 12 0 0 make
    [ 1521.369917] [ 3719] 1000 3719 3006 176 12 0 0 make
    [ 1521.369919] [10784] 1000 10784 3006 175 13 0 0 make
    [ 1521.369921] [12252] 1000 12252 115351 9567 175 0 0 kvirc
    [ 1521.369922] [26014] 1000 26014 4256 168 13 0 0 bash
    [ 1521.369925] [30177] 1000 30177 4255 167 14 0 0 bash
    [ 1521.369926] [30976] 1000 30976 86977 3634 138 0 0 plugin-containe
    [ 1521.369928] [ 915] 1000 915 87003 1648 132 0 0 kio_file
    [ 1521.369930] [ 916] 1000 916 109277 2635 176 0 0 kio_thumbnail
    [ 1521.369932] [ 1186] 1000 1186 4227 157 13 0 0 bash
    [ 1521.369934] [ 2105] 1000 2105 86873 1689 132 0 0 klauncher
    [ 1521.369936] [ 2473] 1000 2473 87003 1648 132 0 0 kio_file
    [ 1521.369938] [ 3468] 1000 3468 141313 5962 206 0 0 kate
    [ 1521.369940] [ 6331] 1000 6331 109512 2225 174 0 0 kate
    [ 1521.369942] [ 6733] 1000 6733 2983 150 12 0 0 make
    [ 1521.369943] [ 6760] 1000 6760 17243 1559 39 0 0 python
    [ 1521.369945] [ 6761] 1000 6761 1882 30 9 0 0 c++
    [ 1521.369947] [ 6762] 1000 6762 1816 23 9 0 0 collect2
    [ 1521.369949] [ 6763] 1000 6763 812215 809141 1588 0 0 ld
    [color=#FF40BF][ 1521.369951] Out of memory: Kill process 6763 (ld) score 402 or sacrifice child
    [ 1521.369953] Killed process 6763 (ld) total-vm:3248860kB, anon-rss:3236396kB, file-rss:168kB[/color]
    gcc -v
    Using built-in specs.
    COLLECT_GCC=gcc
    COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/lto-wrapper
    Target: x86_64-unknown-linux-gnu
    Configured with: /build/src/gcc-4.7.2/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --disable-ppl-version-check --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release
    Thread model: posix
    gcc version 4.7.2 (GCC)
    cat /proc/meminfo
    MemTotal: 8056856 kB
    MemFree: 1240336 kB
    Buffers: 278356 kB
    Cached: 4591784 kB
    SwapCached: 0 kB
    Active: 2700172 kB
    Inactive: 3860720 kB
    Active(anon): 2498432 kB
    Inactive(anon): 2441488 kB
    Active(file): 201740 kB
    Inactive(file): 1419232 kB
    Unevictable: 68 kB
    Mlocked: 68 kB
    SwapTotal: 0 kB
    SwapFree: 0 kB
    Dirty: 124 kB
    Writeback: 0 kB
    AnonPages: 1690996 kB
    Mapped: 218032 kB
    Shmem: 3249176 kB
    Slab: 172972 kB
    SReclaimable: 90332 kB
    SUnreclaim: 82640 kB
    KernelStack: 3264 kB
    PageTables: 38384 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    WritebackTmp: 0 kB
    CommitLimit: 4028428 kB
    Committed_AS: 6713700 kB
    VmallocTotal: 34359738367 kB
    VmallocUsed: 92972 kB
    VmallocChunk: 34359642076 kB
    HugePages_Total: 0
    HugePages_Free: 0
    HugePages_Rsvd: 0
    HugePages_Surp: 0
    Hugepagesize: 2048 kB
    DirectMap4k: 10240 kB
    DirectMap2M: 7237632 kB
    /etc/makepkg.conf
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    CFLAGS="-march=native -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    CXXFLAGS="${CFLAGS}"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
    MAKEFLAGS="-j5"
    thanks a lot
    Last edited by papu (2012-10-13 17:35:38)

    yes it's true it take 4gigs of 8 gigs i have,  but when i was using gentoo never had this problem when i was compiling any package and then my pc was 4gigs.
    df -hT
    Filesystem Type Size Used Avail Use% Mounted on
    rootfs rootfs 51G 7.7G 41G 17% /
    dev devtmpfs 3.9G 0 3.9G 0% /dev
    run tmpfs 3.9G 1.6M 3.9G 1% /run
    /dev/sdb2 ext4 51G 7.7G 41G 17% /
    tmpfs tmpfs 3.9G 76K 3.9G 1% /dev/shm
    tmpfs tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
    tmpfs tmpfs 3.9G 56K 3.9G 1% /tmp
    /dev/sdc1 fuseblk 299G 237G 62G 80% /mnt/share
    /dev/sdb1 ext2 183M 28M 146M 16% /boot
    /dev/sdb3 ext4 18G 6.2G 11G 37% /home
    i am using vanilla kernel 3.6.0
    cat /etc/fstab
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    # /dev/sdb2
    UUID=412194cb-8953-4d02-94b4-d25d21bd7126 / ext4 rw,relatime,barrier=0 0 1
    #/dev/sdb1
    UUID=8bc28611-e3ee-4079-b311-33b9d4a0f36a /boot ext2 rw,relatime 0 2
    #/dev/sdb3
    UUID=2d6d63e0-a59f-439f-9c11-f6673055e65a /home ext4 rw,relatime,barrier=0 0 2
    #/dev/sdc1
    UUID=60F0F9D3F0F9AF80 /mnt/share ntfs-3g umask=0 0 0
    what i have to do ?
    thanks so much. friends!
    Last edited by papu (2012-10-13 19:44:17)

  • How to kill process/Actavity in SAP ?

    How to kill process/Actavity in SAP ?

    The core file contains the memory state of the work process at the point it was terminated. You could use it for debugging the work process if you had access to the kernel source code, which you don't unless you are SAP. For most people, then, the core file is of no interest and just takes up space in the operating system's file system. Using "cancel without core" is the thing to do.
    That said, sometimes I find "cancel without core" doesn't actually work but "cancel with core" does. I always try without core first, but occasionally have to resort to with core. If you do cancel with core, make sure to go and delete the core file afterwards to avoid the file system filling up. Work process core files can be large. You'll find it in a directory/folder here - /usr/sap/SID/DVEBMGS00/work (substitute DVEBMGS00 as appropriate).
    Steve.

  • Unable to kill processes

    Occasionally, a process will hang in such a way that I cannot terminate it at all.  This seems to have started in Vista and carried over into 7 (Win 7 was a clean install on a blank disk).  In XP Pro, process explorer would *always* kill any process
    I asked it to.  It was great, as it enabled me to run without the need to reboot for months at a time.
    In my currently existing problem, there are two processes which will not go away.  Normally, when these processes are
    not hung, I can easily terminate them with process explorer.  These processes are legitimate and part of my normal system use. 
    I do not have any malware problems.  When these processes are hung, I cannot re-launch their parent applications.  It is incredibly frustrating to be unable to re-launch the apps without a reboot.
    I cannot end them with the task manager, process explorer, taskkill, or pskill.
    Process explorer will return an Access Denied error, and I always run process explorer as administrator.  I created a batch file for pskill and ran it as administrator, it also reports Access Denied.
    Here is the output from taskkill, when run from a command prompt (which was started as administrator):
    C:\Users\Kevin>taskkill /f /pid 996
    ERROR: The process with PID 996 could not be terminated.
    Reason: There is no running instance of the task.
    I have granted my user account (already an administrator) and the administrator account the "act as operating system" security policy assignment.  This has not helped.
    This problem has occasionally manifested in the past, where the only solution was to reboot the computer when the particular process would hang.
    How can I properly kill a process without restriction?  The frustration level here is off the chart.
    Unfortunately and fortunately, I cannot intentionally duplicate the hung process scenario.  Fortunately - because it's somewhat infrequent.  Unfortunately - because it's much harder to troubleshoot.  However, I suspect this is a core
    problem in windows 6 and 6.1.
    Other responses to this issue I find in these forums range from "It's not like there are a lot of people reporting taskkill failure"(blaming the topic starter's hardware), to completely unrelated walkthroughs for reinstalling various items,
    to unanswered.  This inability to kill processes in 7 and Vista is reported all over the internet.  Please, please, somebody provide a real fix or workaround. :(

    "This is always a danger with an open system, there might be 200 million combinations of hardware and software (or more), and if it causes
    issues for some, there may be hundreds of millions that wonder whats wrong with your specific combination."
    It's a problem with windows that there are so many vendors. Personally, I'd start looking at the process and especially any third party
    drivers.
    Renee
    personally I'd start
    "MODERN PROGRAMMING is deficient in elementary ways BECAUSE of problems INTRODUCED by MODERN PROGRAMMING." Me

  • Have Photoshop 7.0.1 - recently quit saving as or saving photos after changes. Just hangs until i kill process with task manager. Have uninstalled and reinstalled. Any suggestions? I don't want to upgrade to CC as I hate subscription services and often ha

    Just hangs until i kill process with task manager. Have uninstalled and reinstalled. Any suggestions? I don't want to upgrade to CC as I hate subscription services and often have internet connection services interuppted.

    Which operating system are you using?
    Resetting the photoshop preferences might cure the problem.
    Press and hold down the Shift+Ctrl+Alt keys down just after starting the launch of photoshop 7
    (Shift-Command-Option on a mac)
    Keep holding the keys down until you get a dialog asking if you want to delete the adobe photoshop settings file
    Press Yes

  • Lightroom 4.2 Win 7 64-bit  -have to kill process in Task Manager every time or can't launch

    Lightroom 4.2 Win 7 64-bit  -have to kill process in Task Manager every time or can't launch Lightroom.   This seems like a bug?  Any suggestions?

    Does sound like a bug. Consider reporting to Adobe:
    http://feedback.photoshop.com/photoshop_family/topics/new
    In the mean time, I only have workarounds like start using a batch file.
    Something is hanging it up upon exit, but I dont know what. Maybe a device or process/service? - did you try removing non-essentials? Check windows logs?
    Rob

  • [solved] kworker processes

    I've noticed recently that I have a number of variously numbered kworker processes going.  I don't think they've always been there.  Doing research I found that people have complained about a problem when these processes use up lots of CPU or memory.  Various explanations have been made, and various "fixes" with apparently varied success, have been tried.
    In MY case, I've just got a bunch of the processes (15 at this moment), but they don't seem to be taking any significant CPU or memory and don't seem to have any appreciable effect.
    My question is, whether having many kworker processes going, but doing apparently little is an issue by itself, or only if they start taking up CPU and memory? 
    Thanks
    [solved]: to keep it simple, APPARENTLY it only matters if they are actually causing discernible problems.
    Last edited by andrekp (2013-02-02 15:31:20)

    OK.
    As an aside, MAYBE you shouldn't presume that someone is a newbie or that a question is perhaps a newbie question not worthy of placement in the Kernel section of this forum (which is to what it applies)  just because the person asking isn't a kernel dev.  Not everyone using Arch knows everything about every process - especially if there isn't even a wiki entry for it.  If one were looking for info about kworker process from what I knew at the time (which was that it was a kernel-related process), one would be first looking in the Kernel threads.  I think that questions about particular systems should probably BE in the forum for those systems because that's where one would first look, whether someone thinks it's a stupid question or not.
    (I admittedly missed the thread above when it came up near the end of a multi-page page search result.  That's my mistake.)

  • Maximum work process hold time exceed

    Dear all,
    One of my SAP user got the below error in SAP PROD server , kindly check below logs .
    u201CIRP maximum work process hold time exceed. This may be caused by network problems or slow front-end-systems.u201D
    Note : SAP Gui also latest installed , still the user got the above error .
    Kindly suggest

    This error message means that the SAP server (a workprocess) wanted to send data to the frontend (SAPGUI) but the frontend didn't either confirm that the data could be sent or the data didn'T reach the frontend at all.
    As already specified in the error message itself this can be caused by a slow (swapping) frontend or by network problems.
    Another reason can be local firewalls or firewalls between the server and the frontend.
    Markus

  • The merge process could not allocate memory for an operation; your system may be running low on virtual memory. Restart the Merge Agent.

    I encountered this problem on our SQL2012 and I have tried different scenarios (see below) to no avail. I have decided to give up and check if someone here has encountered this and resolved it. 
    One thing I know, it's not a memory issue. Both servers we're using has lots of memory to spare and we monitor the memory as the replication goes through it's steps. 
    I hope someone can help me on this. Thanks!
    The Error:
    The merge process could not allocate memory for an operation; your system may be running low on virtual memory. Restart the Merge Agent.
    Our Scenario
    We're using SQL Server 2012 SP1. All subscriptions are pull based.
    We're using direct Merge Replication (not FTP or web sync)
    We already have 10 active replications with larger databases. Only 1 has this issue.
    Database size is less than 5 GB
    Rebuilding the publisher is not an option.
    What have I tried?
    There is no memory problem --- we have lots to spare
    I have tried re-initialization of the database. Same problem.
    I tried deleting the database and reinitializing it. Same problem
    New snapshot. Same problem.
    I tried changing the subscriber server but still same issue. 
    MCP, MCSD, MCDBA (ANXA)

    Here is the result for the sp_configure on our subscriber. We're doing a pull on the server with the issue.
    name
    minimum
    maximum
    config_value
    run_value
    max server memory (MB)
    128
    2147483647
    2147483647
    2147483647
    In addition, I made a comparison between the working servers and the one with the issue -- there seems to be a difference in the service pack. Publisher has none but the subscriber is operating on SP1. But still strange as only 1 database is affected. 
    MCP, MCSD, MCDBA (ANXA)

  • [SOLVED] Virtual Memory Exhausted with unused 16g Swap Partition.

    Hello all, long time reader, first time poster. So basically what I'm running into is that I'm having Virtual Memory Exhausted errors with various programs even though I have a 16g swap partition mounted. I've manually enabled it to try it as well. Here's some outputs to give you an idea of how my system is set up. It's a UEFI fresh install, only a couple days old.
    fstab:
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    # /dev/sdb3
    UUID=ea7a0311-6314-4215-b98d-7360552b28c4 / ext4 rw,relatime,data=ordered 0 1
    # /dev/sdc3
    UUID=8f6f2006-3a9c-4563-a149-547d758e2af1 /home ext4 rw,relatime,data=ordered 0 2
    # /dev/sdb2
    UUID=baf1ba80-ddf3-4cbb-a13e-b81a0af0a9e7 /boot ext4 rw,relatime,data=ordered 0 2
    # /dev/sdb1
    UUID=2B46-5340 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
    # /dev/sdc1
    UUID=4336d783-c289-4fbf-8c59-f1a1da782130 /var ext4 rw,relatime,data=ordered 0 2
    # /dev/sdc2
    UUID=96a60f08-a57f-42f1-80ff-846d02a29199 /var/log ext4 rw,relatime,data=ordered 0 2
    # /dev/sda2
    UUID=c5d5879a-b0e8-4976-8057-2f95975a1251 /share ext4 rw,relatime,data=ordered 0 2
    # /dev/sdb4
    UUID=6e6277c4-a69a-4838-83cd-c206959acf0e /store ext4 rw,relatime,data=ordered 0 2
    #swap
    UUID=21a56b10-85e5-48a1-91e5-995eae0dfba4 none swap defaults 0 0
    lsblk
    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
    sda 8:0 0 931.5G 0 disk
    ├─sda1 8:1 0 16G 0 part [SWAP]
    └─sda2 8:2 0 915.5G 0 part /share
    sdb 8:16 0 931.5G 0 disk
    ├─sdb1 8:17 0 1G 0 part /boot/efi
    ├─sdb2 8:18 0 1G 0 part /boot
    ├─sdb3 8:19 0 50G 0 part /
    └─sdb4 8:20 0 879.5G 0 part /store
    sdc 8:32 0 931.5G 0 disk
    ├─sdc1 8:33 0 20G 0 part /var
    ├─sdc2 8:34 0 2G 0 part /var/log
    └─sdc3 8:35 0 909.5G 0 part /home
    sr0 11:0 1 1024M 0 rom
    cat /proc/meminfo
    MemTotal: 12256600 kB
    MemFree: 9926584 kB
    Buffers: 212588 kB
    Cached: 774636 kB
    SwapCached: 0 kB
    Active: 1179860 kB
    Inactive: 638584 kB
    Active(anon): 831604 kB
    Inactive(anon): 14480 kB
    Active(file): 348256 kB
    Inactive(file): 624104 kB
    Unevictable: 4 kB
    Mlocked: 4 kB
    SwapTotal: 16777212 kB
    SwapFree: 16777212 kB
    Dirty: 32 kB
    Writeback: 0 kB
    AnonPages: 831320 kB
    Mapped: 196008 kB
    Shmem: 14892 kB
    Slab: 345008 kB
    SReclaimable: 316620 kB
    SUnreclaim: 28388 kB
    KernelStack: 2616 kB
    PageTables: 27032 kB
    NFS_Unstable: 0 kB
    Bounce: 0 kB
    WritebackTmp: 0 kB
    CommitLimit: 22905512 kB
    Committed_AS: 3365808 kB
    VmallocTotal: 34359738367 kB
    VmallocUsed: 357936 kB
    VmallocChunk: 34359373819 kB
    HardwareCorrupted: 0 kB
    AnonHugePages: 86016 kB
    HugePages_Total: 0
    HugePages_Free: 0
    HugePages_Rsvd: 0
    HugePages_Surp: 0
    Hugepagesize: 2048 kB
    DirectMap4k: 117756 kB
    DirectMap2M: 4059136 kB
    DirectMap1G: 8388608 kB
    swapon -s
    Filename Type Size Used Priority
    /dev/sda1 partition 16777212 0 -1
    core file size (blocks, -c) 0
    data seg size (kbytes, -d) unlimited
    scheduling priority (-e) 20
    file size (blocks, -f) unlimited
    pending signals (-i) 94832
    max locked memory (kbytes, -l) 64
    max memory size (kbytes, -m) unlimited
    open files (-n) 1024
    pipe size (512 bytes, -p) 8
    POSIX message queues (bytes, -q) 819200
    real-time priority (-r) 0
    stack size (kbytes, -s) 8192
    cpu time (seconds, -t) unlimited
    max user processes (-u) 94832
    virtual memory (kbytes, -v) unlimited
    file locks (-x) unlimited
    I did just notice that it's showing 4gb less RAM than there should be (12 instead of 16, I'll be checking into that about the same time I hit submit) but as far as I can tell the system shouldn't even be worried about swap 99.99% of the time. Any ideas?
    Edit: On reboot system show the full 16gb of RAM.
    Last edited by inquisitorthreefive (2012-11-19 07:44:32)

    inquisitorthreefive wrote:
    I did just notice that it's showing 4gb less RAM than there should be (12 instead of 16, I'll be checking into that about the same time I hit submit) but as far as I can tell the system shouldn't even be worried about swap 99.99% of the time. Any ideas?
    Edit: On reboot system show the full 16gb of RAM.
    Could it be a hardware problem with RAM? Is there a 4 GB RAM chip in the machine that may have failed?

  • Job in BODS is failing with an error " Your system is running low on process virtual memory".

    hello,
    I am facing an error with one of my job which is running on BODS server. The job is failing daily since last one year with the same error " Your system is running low on process virtual memory". We checked with team which deals with space issue and the space is sufficient enough.
    Please help me with this error and what can be done to do away with this.
    Regards,
    Ritu Sharma

    Greetings Narendra,
    It may help if you were to explain in more detail the software product you are encountering this issue. There are about 500 different products that might be encountering this issue. Specifying which product you are using will assist the Forum Team in providing an appropriate response.
    Thank you,
    Rob
    Technical Engineer
    Customer Assurance

Maybe you are looking for