Opened 6 years ago

Closed 6 years ago

#1781 closed defect (worksforme)

Rasmgr was killed after multiple error queries

Reported by: Bang Pham Huu Owned by: Dimitar Misev
Priority: critical Milestone: 9.7
Component: rasserver Version: development
Keywords: Cc: Vlad Merticariu
Complexity: Medium

Description

Import the test collection (sdom: [0:221,0:177]) from http://rasdaman.org/browser/systemtest/testcases_services/test_all_wcst_import/test_data/wms_4326

Then run this command in a bash file to kill rasmgr:

for i in {1..200}; do 
    rasql -q 'SELECT ENCODE(Scale( Extend( ( ( c0[-1000:221,200:277] ) ), [-1000:221,200:277]), [0:599, 0:599] ), "png", "") FROM test_wms_4326 as c0' &
done

The error from the query is:

ERROR] - 2018-06-06 10:32:51,513, /home/rasdaman/rasdaman_community/tmp/rasdaman/raslib/sinterval.cc:228: 
Invalid interval: lower bound (0) is greater than the upper bound (-1000).

after that rasmgr is killed and cannot connect from rascontrol

ps -aux | grep 'rasserver'
rasdaman 30532  0.0  0.0 112672  2268 pts/2    R+   10:31   0:00 grep --color=auto rasserver
[rasdaman@localhost tmp]$ ps -aux | grep 'rasmgr'
rasdaman 30540  0.0  0.0 112672  2252 pts/2    S+   10:31   0:00 grep --color=auto rasmgr
[rasdaman@localhost tmp]$ 
[rasdaman@localhost tmp]$ 
[rasdaman@localhost tmp]$ 
[rasdaman@localhost tmp]$ ps -aux | grep 'rasserver'
rasdaman   425  0.1  0.1 560256 29092 pts/0    Sl   10:33   0:00 /home/rasdaman/rasdaman_community/install/bin/rasserver --lport 7005 --serverId 45e057fe-3178-4cd5-9a46-91c40ea7a566 --mgr localhost --rsn 45e057fe-3178-4cd5-9a46-91c40ea7a566 --mgrport 7001 --connect /home/rasdaman/rasdaman_community/install/data/RASBASE --rasnet
rasdaman   426  0.1  0.1 560316 31184 pts/0    Sl   10:33   0:00 /home/rasdaman/rasdaman_community/install/bin/rasserver --lport 7006 --serverId 929f1500-f7ea-47b6-830b-0af6fec74ffd --mgr localhost --rsn 929f1500-f7ea-47b6-830b-0af6fec74ffd --mgrport 7001 --connect /home/rasdaman/rasdaman_community/install/data/RASBASE --rasnet
rasdaman   429  0.1  0.1 560256 29156 pts/0    Sl   10:33   0:00 /home/rasdaman/rasdaman_community/install/bin/rasserver --lport 7007 --serverId ee19f8a7-928c-4201-92fd-5b469f770911 --mgr localhost --rsn ee19f8a7-928c-4201-92fd-5b469f770911 --mgrport 7001 --connect /home/rasdaman/rasdaman_community/install/data/RASBASE --rasnet
rasdaman   569  0.0  0.0 112676  2288 pts/2    S+   10:34   0:00 grep --color=auto rasserver
rasdaman 32661  0.0  0.1 633988 31132 pts/0    Sl   10:33   0:00 /home/rasdaman/rasdaman_community/install/bin/rasserver --lport 7008 --serverId 4a9bed2e-6cd4-4222-a50c-7096a5a55a20 --mgr localhost --rsn 4a9bed2e-6cd4-4222-a50c-7096a5a55a20 --mgrport 7001 --connect /home/rasdaman/rasdaman_community/install/data/RASBASE --rasnet
rasdaman 32663  0.0  0.2 633988 35140 pts/0    Sl   10:33   0:00 /home/rasdaman/rasdaman_community/install/bin/rasserver --lport 7009 --serverId 06395594-2059-4473-8e68-924402bfdff7 --mgr localhost --rsn 06395594-2059-4473-8e68-924402bfdff7 --mgrport 7001 --connect /home/rasdaman/rasdaman_community/install/data/RASBASE --rasnet
rasdaman 32664  0.0  0.1 633988 29100 pts/0    Sl   10:33   0:00 /home/rasdaman/rasdaman_community/install/bin/rasserver --lport 7010 --serverId ccc6efd2-9417-43c3-9a70-97d680b9d4b6 --mgr localhost --rsn ccc6efd2-9417-43c3-9a70-97d680b9d4b6 --mgrport 7001 --connect /home/rasdaman/rasdaman_community/install/data/RASBASE --rasnet
[rasdaman@localhost tmp]$ rascontrol
rascontrol: rasdaman server remote control utility. rasdaman 9.6.0.
 Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 Peter Baumann rasdaman GmbH.
Rasdaman community is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. 
Rasdaman community is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details. 

This software contains software which is in the public domain:
- openssl 0.96c (C) 1998-2002 The OpenSSL Project, (C) 1995-1998 Eric A. Young, Tim J. Hudson
Login name: rasadmin
  Password: 

Failed to connect to rasmgr. Reason:The server is not responding to requests.[rasdaman@localhost tmp]$ 

Change History (2)

comment:1 by Dimitar Misev, 6 years ago

I can't reproduce with two rasservers, after a while all queries finished and the rascontrol result is

$ rascontrol -q -x "list srv -all"
List of servers:
    Server Name          Type        Host                   Db Host               Stat   Av 
 1. N1                   (RASNET)    blade                  rasdaman_host         UP     YES
 2. N2                   (RASNET)    blade                  rasdaman_host         UP     YES

comment:2 by Dimitar Misev, 6 years ago

Resolution: worksforme
Status: newclosed

Same with 10 servers.. closing the ticket.

Note: See TracTickets for help on using tickets.