UNABLE TO STOP BOOMI ATOM
We were updating Java version using Atmosphere UI and tried to restart the atoms from terminal. All atoms were successfully restarted except one atom. We were getting timeout error while running ./atom stop command. We could see following error message on cluster status page of atmosphere UI.
EW_ID_MISMATCH There are differing view IDs in the various view snapshot files. Severe
These nodes are reporting the issue:
Node 1 10_x_x_x Found different view id [10_x_x_x|90] in "node.10_x_x_x.dat"
Node 2 10_x_x_x Found different view id [10_x_x_x|101] in "node.10_x_x_x.dat"
We analyzed atom logs but could not find the reason for timeout. We killed the process and removed above dat files from $MOLECULE_HOME/bin/views directory. But we got again same problem, we couldn’t stop the atom. So, to troubleshoot further, captured system calls using strace by attaching to running process. Following lines were repeating in the trace log.
open("/tmp/i4jdaemon__data_boomi_Boomi_AtomSphere_Molecule_Molecule_boomi_dev_vmw_molecule_bin_atom", O_RDONLY) = 6 <0.000014>
81678 01:23:42 fstat(6, {st_mode=S_IFREG|0664, st_size=45, …}) = 0 <0.000008>
81678 01:23:42 fstat(6, {st_mode=S_IFREG|0664, st_size=45, …}) = 0 <0.000008>
81678 01:23:42 fcntl(6, F_SETLK, {l_type=F_RDLCK, l_whence=SEEK_SET, l_start=0, l_len=0}) = -1 EAGAIN (Resource temporarily unavailable)From above output, we can conclude that boomi stop script was trying to acquire some sort of lock on /tmp/i4jdaemon__data_boomi_Boomi_AtomSphere_Molecule_Molecule_boomi_dev_vmw_molecule_bin_atom file but it was not succeeding. So, killed the boomi process using kill -9 <pid> command and removed the file starting with i4jdaemon in /tmp directory. After this, we were able to stop and stop atom without any problem.
Comments
Post a Comment