-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hi,
I've set up another experiment, involving runing 5 parallel MLR model training requests (all using the same dataset/feature URIs) and have noticed that in some cases curl returns code 52 ( Empty reply from server). Curl's man page guives some more details for the reported error code -- "The server didn't reply anything, which here is considered an error". Please note that this occurs after only aprroximately 30 seconds, while in other cases model training succeeds after a longer period of time, so it doesn't seem to be due to some kind of timeout. I'm not sure what the real issue is in this case, however it seems that we have some kind of a scalability problem either with the dataset, feature or model services. In addition, such setup also helps reproducing the Exception Details: java.lang.IllegalArgumentException: Can't delete class attribute, tracked as a separate issue. Here is the curl log:
ambit:~# time curl -iv -X POST -d 'dataset_uri=http://ambit.uni-plovdiv.bg:8080/ambit2/dataset/6?max=522&target=http://ambit.uni-plovdiv.bg:8080/ambit2/feature/11954' http://opentox.ntua.gr:3000/algorithm/mlr
- About to connect() to opentox.ntua.gr port 3000 (#0)
- Trying 147.102.82.32... connected
- Connected to opentox.ntua.gr (147.102.82.32) port 3000 (#0)
POST /algorithm/mlr HTTP/1.1
User-Agent: curl/7.18.2 (x86_64-pc-linux-gnu) libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.8 libssh2/0.18
Host: opentox.ntua.gr:3000
Accept: /
Content-Length: 130
Content-Type: application/x-www-form-urlencoded - Empty reply from server
- Connection #0 to host opentox.ntua.gr left intact
curl: (52) Empty reply from server - Closing connection #0
real 0m30.232s
user 0m0.004s
sys 0m0.004s