I’m trying to deploy an update to my solution for about an hour. Put the server also on maintenance but still the deploy won’t end. Right now after I put the server on maintenance I’m waiting for 15 minites with same screen:
Importing AeroPlus 03.servoy...
[info] Import contains XML version 15 and repository version 38.
I just can’t wait 15 minutes to upload and in this time clients can’t connect. And it seems to never ends. I just can’t wait. I have to stop it now.
Is the servoy_server in a local network or are you connected over the internet?
Check the connection quality and speed. Also between servoy_server and sql_server, if on different machines.
Is anything running on the servermachine occuring a system utilisation?
Try a clean install/update of your solution by deleting the old version(s), restart the servoy_server… or better restart (if possible) the server machine.
Perhaps you should create a new export file of your solution.
So it’s importing so this means the .servoy has been uploaded and Servoy server has been processing it.
What backend database do you use for the repository ?
Can you check if you see any queries waiting on locks using a DBA tool (for PostgreSQL use pgAdmin > menubar > Tools > Server Status )
Also do you see any load on the Servoy process and/or the database process ?
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32776 bytes for Chunk::new
# An error report file with more information is saved as:
# /Software/servoy_aeroplus/application_server/hs_err_pid12359.log
# hs_err_pid12359.log file content:
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32776 bytes for Chunk::new
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Use 64 bit Java on a 64 bit OS
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
# Out of Memory Error (allocation.cpp:317), pid=12359, tid=1777961872
#
# JRE version: 6.0_26-b03
# Java VM: Java HotSpot(TM) Server VM (20.1-b02 mixed mode linux-x86 )
--------------- T H R E A D ---------------
Current thread (0x092c8400): JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=12368, stack(0x69f18000,0x69f99000)]
Stack: [0x69f18000,0x69f99000], sp=0x69f95fe0, free space=503k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x7248b0]
I need to get it run online on another server, too see if it behaves the same, but I want to keep the same database, and eventually make it work with more servoy servers and load balancing, but still didn’t figure out how to do some stuff. For this I have this topic open: viewtopic.php?f=5&t=16965
I see that you answered me there. I will post there some more stuff I tried about the db sequences and db identities. And I also have the users problem I mentioned there.
Hello, it’s a Debian. I don’t know how it’s installed. I know only it’s a vps. From what I remember the problem appeared after the kernel was updated. But I also have another java server app running there that runs fine even after the kernel update.
So I really need to get it run on another vps, but I want to keep the database here, because it runs fine. and eventually to install another servoy as backup. So I really need to have at least 2 servers running with only one database to avoid situations like this. We are online and each time the server crashes we risk to loose the users.
I tried those things, but the situation is the same. In the end the java memory it’s still too much, approaching 2GB at startup and then in 1 - 2 days it goes even more.
Can someone please answer me to this topic: viewtopic.php?f=5&t=16965
I really need to install another instance of servoy on another vps, but I want to use the same database, which runs ok. And also to keep the current server instance although it has these problems. But at least it runs and people can use it.
I have also running two different solutions on two debian 5 virtual servers without problems. This are the Server Info:
JVM Information
java.vm.name=Java HotSpot(TM) Server VM
java.version=1.6.0_22
java.vm.info=mixed mode
java.vm.vendor=Sun Microsystems Inc.
Operating System Information
os.name=Linux
os.version=2.6.18-028stab091.2
os.arch=i386
System Information
Heap memory: allocated=126144K, used=46390K, max=699072K
None Heap memory: allocated=43168K, used=42672K, max=573440K
Your java version is newer than on my servers. Maybe an earlier version could fix your problem?
Although I have set the max heap memory to 2 GB, the Sytem Information returns only the 699072K. I don’t know why? The Server has enough RAM (4 GB).
Can you please tell me how much memory java use? Also my heap memory seems OK.
JVM Information
java.vm.name=Java HotSpot(TM) Server VM
java.version=1.6.0_26
java.vm.info=mixed mode
java.vm.vendor=Sun Microsystems Inc.
Operating System Information
os.name=Linux
os.version=2.6.29-xs5.5.0.17
os.arch=i386
System Information
Heap memory: allocated=141440K, used=105555K, max=699072K
None Heap memory: allocated=49312K, used=49018K, max=180224K
Can no one answer me to this topic: viewtopic.php?f=5&t=16965 ? Please! I really need to install another servoy, but I want to keep the database and the current servoy.