Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

How do I network profile a dedicated server

Hi all I currently have a project running on a dedicated server and want to debug its network performance.

With the dedicated server running and clients connected I can run netprofile from the command prompt and create a network profile from the client. However this does not give me all the information i need. How can I run netprofile on the dedicated server itself and get information from the server.


Product Version: UE 4.18
more ▼

asked Feb 09 '18 at 06:42 PM in Using UE4

avatar image

1 1 1 1

avatar image Orakga Feb 21 '18 at 05:54 PM

I have the same question. I haven't been able to find the answer to this either.

avatar image Gnurr Feb 25 '18 at 12:12 PM

If starting the server with the netprofiler constantly running is an option you could use the command line option on server startup: networkprofiler=true
(the same way you would pass -log or LOG=myserverlog.txt , etc)
-> didn't try it on an actually deployed standalone dedicated server, but it shouldn't be different I guess?

or another approach that I think would work would be to make a ServerRPC from the client (bound to some debug input) which executes the netprofile command on the server.
(something like GetWorld()->Exec(GetWorld(), TEXT("netprofile")); )

(both approaches would assume that USE_NETWORK_PROFILER is not deactivated in the build process)

avatar image Orakga Feb 26 '18 at 07:33 PM

Thank you so much for this. I've confirmed that it works (at least the command-line option does).

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question