473,396 Members | 2,002 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

java dies unexpectedly on cents

when running java -Xmx200m server everything works fine and the virtual server runs. but after a few minutes it just decides to quit, no error nothing. i tried with nohup, screen, combination of both, none seemed to work. i found out about strace but this makes me no smarter at all. its a huge file but i'll paste the last part.

Expand|Select|Wrap|Line Numbers
  1. 18:35:27.963821 mmap2(NULL, 163952, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xffffffffb7493000
  2. 18:35:27.963869 mmap2(0xb74ba000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x26) = 0xffffffffb74ba000
  3. 18:35:28.001070 close(3)                = 0
  4. 18:35:28.001196 mprotect(0xb74ba000, 4096, PROT_READ) = 0
  5. 18:35:28.001234 mprotect(0xb74bc000, 4988928, PROT_READ|PROT_WRITE) = 0
  6. 18:35:28.433123 mprotect(0xb74bc000, 4988928, PROT_READ|PROT_EXEC) = 0
  7. 18:35:29.492764 munmap(0xb7f3f000, 54917) = 0
  8. 18:35:29.703327 mmap2(NULL, 331776, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xffffffffb7442000
  9. 18:35:29.713994 mprotect(0xb7442000, 4096, PROT_NONE) = 0
  10. 18:35:29.714047 clone(child_stack=0xb74924b4, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0xb7492bd8, tls=0xb7492bd8, child_tidptr=0xbfa834ac) = 32236
  11. 18:35:29.714112 futex(0xb7492bd8, FUTEX_WAIT, 32236, NULL) = -1 EINTR (Interrupted system call)
  12. 18:40:01.812233 --- SIGTERM (Terminated) @ 0 (0) ---
  13. 18:40:01.812294 futex(0xb79a49a0, FUTEX_WAKE_PRIVATE, 1) = 1
  14. 18:40:01.812344 rt_sigreturn(0xb7492bd8) = -1 EINTR (Interrupted system call)
  15. 18:40:01.812395 futex(0xb7492bd8, FUTEX_WAIT, 32236, NULL <unfinished ... exit status 143>
  16.  
Dec 23 '11 #1
1 2869
I asume you are inside an OpenVZ like container (VPS)... In my case it looks like some VPS providers are periodically SIGTERM-inating processes called "java"
You can easily proof this by renaming a simple program to "java" and wait for the termination, or just rename the java executable itself and it will persist...

Thats a very bad thing of those VPS providers as it is not communicated at all (advertised ;) )

HTH
Apr 4 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: ben arthur | last post by:
what happens to java if sun dies? i'm a developer and am pondering using java for a new project. but am worried about sun's future. ben
54
by: Spammay Blockay | last post by:
I've been tasked with doing technical interviews at my company, and I have generally ask a range of OO, Java, and "good programming technique" concepts. However, one of my favorite exercises I...
0
by: witichis | last post by:
Hi, using jetty 4.2.9 on redhat with sun jdk 1.4.2_01-b06 When using virtual hosts the java process dies after a few minutes while the CPU load goes slowly from 100% to zero (e-function?) on...
11
by: DrUg13 | last post by:
In java, this seems so easy. You need a new object Object test = new Object() gives me exactly what I want. could someone please help me understand the different ways to do the same thing in...
0
by: Dmitry Polyakovsky | last post by:
We are not sure exactly what is causing it and any suggestions will be greatly appreciated. The largest reports we are trying to pull up have about 100,000 rows with about 10 columns (mostly int,...
3
by: Henrik Farre | last post by:
I just been choosen as sys adm on a small network. We have a old Sun Ultra 1 running postgresql 7.1.3. I would like to migrate the database to a new machine and a newer version of postgresql. But...
1
by: ImSoLost | last post by:
My asp.net web application dies after an hour of processing (it's a long database parsing process) and the web page becomes a "Page could not be displayed" webpage. I looked in my event logs and...
0
by: eldie | last post by:
Hi!! We are experiencing some problems with our db2 jdbc applet service (it chash unexpectedly). In the db2 logs we don't find nothing. In the windows event viewer we only see the following...
3
by: jehugaleahsa | last post by:
Hello: I have had a program that checks LDAP to get a list of all the users whose password will expire. I send these users an email letting them know to change their passwords. It had been...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.