QCAD Pro Server on Amazon Web Services (AWS)

If you are having problems with QCAD, post here. Please report bugs through our Bug Tracker instead.

Always attach your original DXF or DWG file and mentions your QCAD version and the platform you are on.

Moderator: andrew

Forum rules

Always indicate your operating system and QCAD version.

Attach drawing files and screenshots.

Post one question per topic.

Post Reply
DougVW
Junior Member
Posts: 16
Joined: Mon Jan 08, 2018 5:03 pm

QCAD Pro Server on Amazon Web Services (AWS)

Post by DougVW » Thu Apr 04, 2019 6:22 pm

Software: QCAD Pro Server 3.22.0 on CentOS 7

I wanted to check if any of you have had experience hosting QCAD on AWS? If so, what machine parameters are key?

Have been using QCAD+dwg2pdf on an old Dell Optiplex Pentium server on our internal network and it has worked reliably and fast enough with great quality output. More recently we have been testing deployment of this service on an AWS virtual machine. It works sometimes, but mostly unreliably. It seems to hang on disk I/O. We've tested various disk volume types and different machine classes, yet have not found a working server for QCAD on AWS.

I don't believe this is a QCAD problem, as I can't replicate the hangups on any non-AWS machines. I've tested up to 40MB DXF input to 10-page 2.2MB PDF output which might take 3 minutes on an old box, but it works reliably on non-AWS machines.

I don't have non-proprietary sample files to share at this time, yet here are some typical file stats:
DXF input: 4.7MB
PDF output: 1.5MB (3 pages)
Maximum disk I/O seen: about 100K/S
Time to convert: 10-15s on an i7 test box, 20-25s on an old Pentium, 25s on AWS if it doesn't hang.

Thanks for any suggestions or links to some large multi-sheet public DWG/DXF you might have.

Doug

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: QCAD Pro Server on Amazon Web Services (AWS)

Post by andrew » Fri Apr 05, 2019 10:01 am

Not my area of expertise to be honest.. I'd start by monitoring the AWS memory usage and CPU usage. I can imagine that processes are shut down when certain conditions are met.

DougVW
Junior Member
Posts: 16
Joined: Mon Jan 08, 2018 5:03 pm

Re: QCAD Pro Server on Amazon Web Services (AWS)

Post by DougVW » Fri Apr 12, 2019 4:07 pm

Just for the record, we got this working this week. As suspected, it was not a QCAD problem, and required advanced configuration of the machine parameters including swap space. Here's a couple of links in case anyone else has to deal with similar issues.

https://serverfault.com/questions/93254 ... ce-freezes

https://docs.aws.amazon.com/AmazonECS/l ... oting.html

User avatar
andrew
Site Admin
Posts: 9037
Joined: Fri Mar 30, 2007 6:07 am

Re: QCAD Pro Server on Amazon Web Services (AWS)

Post by andrew » Fri Apr 12, 2019 4:19 pm

Excellent, thanks for the update and the links.

Post Reply

Return to “QCAD Troubleshooting and Problems”