-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP error 413 Request Entity Too Large when inserting blocks in DBS #8329
Comments
failed publications per hour in last 30 days clearly indicates how April is different from March. Of course user jobs are different, yet... |
Problems persist, all blocks >1MB are failing This is not part of DBS/CMSWEB specification and I do not have a way to cut things in samller pieces. |
Hi @belforte, I just removed the limit contraints from the ingress in both production clusters. |
thanks a lot @arooshap ! |
hi @belforte,
I can tell for sure, nothing has changed on April related to DBS. No extra limitations has been enforced. |
@todor-ivanov yes, it is related to the ingress limits. Just to correct something, we are not imposing any limits on our frontends. It was the nginx that we are using in the backend. The service is maintained by the CERN IT. So, by default, it was imposing the size constraints(which have now been removed). |
hi @arooshap
That's actually great |
we have again cases of blocks too big to be published,
DBS server returns
HTTP error 413 Request Entity Too Large
Detail:
Traceback (most recent call last):
File "/data/srv/TaskManager/v3.240325-e142b415228994babce71846cc653b98/slc7_amd64_gcc630/cms/crabtaskworker/v3.240325-e142b415228994babce71
846cc653b98/lib/python3.8/site-packages/Publisher/TaskPublish.py", line 935, in publishInDBS3
destApi.insertBulkBlock(blockDump)
File "/data/srv/TaskManager/v3.240325-e142b415228994babce71846cc653b98/slc7_amd64_gcc630/cms/py3-dbs3-client/4.0.12/lib/python3.8/site-pack
ages/dbs/apis/dbsClient.py", line 647, in insertBulkBlock
result = self.__callServer("bulkblocks", data=blockDump, callmethod='POST' )
File "/data/srv/TaskManager/v3.240325-e142b415228994babce71846cc653b98/slc7_amd64_gcc630/cms/py3-dbs3-client/4.0.12/lib/python3.8/site-pack
ages/dbs/apis/dbsClient.py", line 486, in __callServer
self.__parseForException(data)
File "/data/srv/TaskManager/v3.240325-e142b415228994babce71846cc653b98/slc7_amd64_gcc630/cms/py3-dbs3-client/4.0.12/lib/python3.8/site-pack
ages/dbs/apis/dbsClient.py", line 512, in __parseForException
raise http_error
RestClient.ErrorHandling.RestClientExceptions.HTTPError: HTTP Error 413:
URL=https://cmsweb-prod.cern.ch:8443/dbs/prod/phys03/DBSWriter/bulkblocks
Code=413
Message=Request Entity Too Large
Header=HTTP/1.1 100 Continue
HTTP/1.1 413 Request Entity Too Large
Date: Wed, 10 Apr 2024 04:51:02 GMT
Server: Apache
Content-Type: text/html
Content-Length: 176
CMS-Server-Time: D=14222 t=1712724662049200
Connection: close
in a couple of seconds while earlier tests with old python-based server where timing out at 5minuts in CMSWEB FE.
In the most recent case
DBS is failing that way on blocks with 31K lumis and 1MB size.
Current publisher cuts blocks at 1M lumis !! and that was working #6670.
Is the new DBS server setting this very strict limit now ? @todor-ivanov
Or is this CMSWEB setting a 1MB limit on payloads ? @arooshap
It seems same error as in dmwm/WMCore#11960 wich led to this short MatterMost thread. I am not sure the units in the
1m
and3m
there, but the last error report is from Apr 10 (yesterday)I looked at recorded statistics from CRAB Publisher.
Up to CRAB tasks submitted on March 26 blocks of up to 30MB were published successfully in DBS. But after that nothing 1MB or larger makes it through.
Did something change with the beginning of April ?
In DBS ? In CMSWEB ?
I can look into making smaller blocks, but current issue is from a user who can't publish a block with 60 files. I'd rather not go to 10 files per block !!
The text was updated successfully, but these errors were encountered: