[osmosis-dev] Firewall traffic
Toby Murray
toby.murray at gmail.com
Sun Oct 25 05:31:46 UTC 2015
That netstat would seem to confirm that you are seeing traffic between
osmosis and the mysql database as Michael mentioned. It's just on your
loopback interface so it isn't actually going out over the external
network.
Toby
On Sat, Oct 24, 2015 at 4:06 PM, Simon Nuttall <info at cyclestreets.net> wrote:
> On 24/10/15 10:58:44, michael spreng wrote:
>
>> A little more details would be nice (as to what command you are
>> running). My guesses would be: fetching diffs when updating, or Database
>> connection: I don't know why, but osmosis does not use the usual socket,
>> but uses a network connection to localhost to connect to postgres.
>
>
> Ah, yes, sorry - I'd forgotten that osmosis can be used in so many
> ways! We're mostly using it to read pbf files which have already been
> downloaded - so I didn't know why there was any need for traffic.
>
> Here's the command in essence:
>
> osmosis -v 100 --read-pbf
> osm/downloads/europe/british-isles-latest.osm.pbf --tag-filter
> accept-ways highway=* leisure=* landuse=* aerialway=* route=ferry
> man_made=pier,jetty --tag-filter reject-ways
> highway=motorway,construction --read-pbf ... many more countries ...
> --merge --buffer --write-apidb dbType=mysql populateCurrentTables=no
> host=localhost database=planetExtractOSM user=import password=
> validateSchemaVersion=no
>
>
> Here's some of the output from:
> netstat -nputwc
>
>
> Active Internet connections (w/o servers)
> Proto Recv-Q Send-Q Local Address Foreign Address
> State PID/Program name
> tcp6 0 0 127.0.0.1:3306 127.0.0.1:43779
> ESTABLISHED 10079/mysqld
> tcp6 0 3228 127.0.0.1:43779 127.0.0.1:3306
> ESTABLISHED 24672/java
>
>
>
> On 24 October 2015 at 07:31, Simon Nuttall <simon.nuttall at gmail.com> wrote:
>> Why is there apparently a lot of network traffic (as noticed on our
>> munin firewall chart) while osmosis is running?
>
> _______________________________________________
> osmosis-dev mailing list
> osmosis-dev at openstreetmap.org
> https://lists.openstreetmap.org/listinfo/osmosis-dev
More information about the osmosis-dev
mailing list