Should I increase the swap file from 2GB?

Yes. But note this is not a fine tool. It’s obvious here 2GB is enough but If you want a more accurate peak of swap use you might investigate sysstat and logging. I’ll leave you to research that.