r/AZURE•
DirdCS

Azure function crazy GBs?

Billing Related

I have a simple timer trigger that creates an instance of HttpClient and then calls two fast endpoints (judging from postman) and then ends. Azure says this uses 40k gbs...does that seem reasonable? It means only 10 executions per month would be free... I even tried removing the await commands but it didn't change anything

Memory working set shows as 0

Posted Jun 28, 2020, 8:21 AM UTC

37
DocHoss•

Double check Application Insights and make sure there's not something unexpected happening. Maybe an operation got hung and ran much longer than expected.

2
DirdCSOP•

I've added AI to see if it shows anything but I guess it is just a reporting bug. As long as I don't start getting charged I don't care I guess :) was just concerning to see it

2
sebastian-stephan•

Can you share the source code? Maybe there is an issues with allocation. Also which tier are you using?

1
cgroce13•

What does the response from those rest calls look like?

1
DirdCSOP•

Status OK for both. 1 is a 4.52kb json response, the other is 380bytes

I'm convinced the reporting is just some bug in Portal. It has been running often and should have started charging me if the GBs was true but it isn't.

Also it is supposed to run every 30 mins but sometimes it doesn't run for hours at a time so seems the reporting/timer functions are flakey

1
cgroce13•

Yea that’s probably the case then. If you aren’t being charged for it then could be a bug. You can always report it to support as well and see what they say.

1
DirdCSOP•

OK I added application insights and it shot up like crazy wtf. from nothing to 50gbp

even stranger is the run time is only 40ms...raised a support request

1