Re: client side profiling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



stopped and started it many times. Load is fine (2-3) so long as I am not serving sites...

On 2020-08-20 10:33 p.m., Strahil Nikolov wrote:
master# gluster vol profile webisms start
Profile on Volume webisms is already started

It seems that it was already started. Can you stop it and check node's load  before starting it again?

Best Regards,
Strahil Nikolov

На 21 август 2020 г. 7:44:35 GMT+03:00, Computerisms Corporation <bob@xxxxxxxxxxxxxxx> написа:
Hi List,

I am still struggling with my setup.  One server is working reasonably
well for serving websites, but serving sites from the 2nd server is
still using excessive amounts of cpu; a bit of which is gluster, but
most of which is apache.

Gluster docs mentions client-side-profiling:

https://gluster.readthedocs.io/en/latest/Administrator%20Guide/Performance%20Testing/#client-side-profiling

specifically:

"In short, use client-side profiling for understanding "why is my
application unresponsive"?"

Great, I think this is what I want.  instructions are:

*gluster volume profile your-volume start
*setfattr -n trusted.io-stats-dump -v /tmp/io-stats-pre.txt
/your/mountpoint
*This will generate the specified file on the client

Okay:

root@moogle:/usr/src/gluster-profile-analysis-master# gluster vol
profile webisms start
Profile on Volume webisms is already started
root@moogle:/usr/src/gluster-profile-analysis-master# setfattr -n
trusted.io-stats-dump -v /tmp/stats.txt /Computerisms
root@moogle:/usr/src/gluster-profile-analysis-master# ls /tmp/stats.txt
ls: cannot access '/tmp/stats.txt': No such file or directory

thought for sure I am doing something wrong, so I had a look at the
gvp-client.sh script, and it appears I am doing the command correctly,
there is just no output file.  Am I missing something?  or is this an
outdated methodology that no longer works?
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux